ATLAS Offline Software
Classes | Variables
han_lark_tester Namespace Reference

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)
 

Variable Documentation

◆ grammar

han_lark_tester.grammar = open(grammarfile).read()

Definition at line 39 of file han_lark_tester.py.

◆ grammarfile

han_lark_tester.grammarfile = find_datafile('DataQualityInterfaces/han_def.lark')

Definition at line 36 of file han_lark_tester.py.

◆ infile

han_lark_tester.infile = open(sys.argv[1]).read()

Definition at line 42 of file han_lark_tester.py.

◆ parser

han_lark_tester.parser = lark.Lark(grammar, parser='lalr', lexer='contextual', transformer=T())

Definition at line 40 of file han_lark_tester.py.

◆ tree

han_lark_tester.tree = parser.parse(infile)

Definition at line 44 of file han_lark_tester.py.