You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help='Include automaton tracing in the trace file.',
16
-
default=False
17
-
)
18
-
generateDriver=plumbum.cli.Flag(
19
-
('c', 'C', "generateDriver"),
20
-
help='Generate a main compiler source file.',
21
-
default=False
22
-
)
23
-
firstAndFollow=plumbum.cli.Flag(
24
-
('f', 'F', "firstAndFollow"),
25
-
default=False,
26
-
help='Include first & follow sets in the trace file.'
27
-
)
28
-
syntaxGraph=plumbum.cli.Flag(
29
-
('g', 'G', "syntaxGraph"),
30
-
default=False,
31
-
help='Include syntax graph in the trace file.'
32
-
)
33
-
traceComputations=plumbum.cli.Flag(
34
-
('i', 'I', "traceComputations"),
35
-
default=False,
36
-
help='Include a trace of the computations for first sets in the trace file.'
37
-
)
38
-
listAnyAndSync=plumbum.cli.Flag(
39
-
('j', 'J', "listAnyAndSync"),
40
-
default=False,
41
-
help='Inclue a listing of the ANY and SYNC sets in the trace file.'
42
-
)
43
-
mergeErrors=plumbum.cli.Flag(
44
-
('m', 'M', "mergeErrors"),
45
-
default=False,
46
-
help='Merge error messages in the source listing.'
47
-
)
48
-
tokenNames=plumbum.cli.Flag(
49
-
('n', 'N', "tokenNames"),
50
-
default=False,
51
-
help='Generate token names in the source listing.'
52
-
)
53
-
statistics=plumbum.cli.Flag(
54
-
('-p', '-P', "statistics"),
55
-
default=False,
56
-
help='Include a listing of statistics in the trace file.'
57
-
)
58
-
frameFileDir=plumbum.cli.SwitchAttr(
59
-
('-r', '-R', "frameFileDir"),
60
-
plumbum.cli.ExistingDirectory,
61
-
default=False,
62
-
help='Use scanner.frame and parser.frame in this directory.'
63
-
)
64
-
symbolTable=plumbum.cli.Flag(
65
-
('-s', '-S', "symbolTable"),
66
-
default=False,
67
-
help='Include the symbol table listing in the trace file.'
68
-
)
69
-
testOnly=plumbum.cli.Flag(
70
-
('-t', '-T', "testOnly"),
71
-
default=False,
72
-
help='Test the grammar only, don\'t generate any files.'
73
-
)
74
-
crossReferences=plumbum.cli.Flag(
75
-
('-x', '-X', "xref"),
76
-
default=False,
77
-
help='Include a cross reference listing in the trace file.'
78
-
)
79
-
80
-
outputDir=plumbum.cli.SwitchAttr(
81
-
('-O', "outputDir"),
82
-
plumbum.cli.ExistingDirectory,
83
-
default=False,
84
-
help='Output files to that directory.'
85
-
)
86
-
87
-
defmain(self, *args, **kwargs):
88
-
returnself
16
+
traceAutomaton=plumbum.cli.Flag(("a", "A", "traceAutomaton"), help="Include automaton tracing in the trace file.", default=False)
17
+
generateDriver=plumbum.cli.Flag(("c", "C", "generateDriver"), help="Generate a main compiler source file.", default=False)
18
+
firstAndFollow=plumbum.cli.Flag(("f", "F", "firstAndFollow"), default=False, help="Include first & follow sets in the trace file.")
19
+
syntaxGraph=plumbum.cli.Flag(("g", "G", "syntaxGraph"), default=False, help="Include syntax graph in the trace file.")
20
+
traceComputations=plumbum.cli.Flag(("i", "I", "traceComputations"), default=False, help="Include a trace of the computations for first sets in the trace file.")
21
+
listAnyAndSync=plumbum.cli.Flag(("j", "J", "listAnyAndSync"), default=False, help="Inclue a listing of the ANY and SYNC sets in the trace file.")
22
+
mergeErrors=plumbum.cli.Flag(("m", "M", "mergeErrors"), default=False, help="Merge error messages in the source listing.")
23
+
tokenNames=plumbum.cli.Flag(("n", "N", "tokenNames"), default=False, help="Generate token names in the source listing.")
24
+
statistics=plumbum.cli.Flag(("-p", "-P", "statistics"), default=False, help="Include a listing of statistics in the trace file.")
25
+
frameFileDir=plumbum.cli.SwitchAttr(("-r", "-R", "frameFileDir"), plumbum.cli.ExistingDirectory, default=False, help="Use scanner.frame and parser.frame in this directory.")
26
+
symbolTable=plumbum.cli.Flag(("-s", "-S", "symbolTable"), default=False, help="Include the symbol table listing in the trace file.")
27
+
testOnly=plumbum.cli.Flag(("-t", "-T", "testOnly"), default=False, help="Test the grammar only, don't generate any files.")
28
+
crossReferences=plumbum.cli.Flag(("-x", "-X", "xref"), default=False, help="Include a cross reference listing in the trace file.")
29
+
30
+
outputDir=plumbum.cli.SwitchAttr(("-O", "outputDir"), plumbum.cli.ExistingDirectory, default=False, help="Output files to that directory.")
0 commit comments