ATLAS Offline Software
|
Classes | |
class | T |
Variables | |
grammarfile = find_datafile('DataQualityInterfaces/han_def.lark') | |
grammar = open(grammarfile).read() | |
parser = lark.Lark(grammar, parser='lalr', lexer='contextual', transformer=T()) | |
infile = open(sys.argv[1]).read() | |
tree = parser.parse(infile) | |
han_lark_tester.grammar = open(grammarfile).read() |
Definition at line 39 of file han_lark_tester.py.
han_lark_tester.grammarfile = find_datafile('DataQualityInterfaces/han_def.lark') |
Definition at line 36 of file han_lark_tester.py.
han_lark_tester.infile = open(sys.argv[1]).read() |
Definition at line 42 of file han_lark_tester.py.
Definition at line 40 of file han_lark_tester.py.
han_lark_tester.tree = parser.parse(infile) |
Definition at line 44 of file han_lark_tester.py.