Lines Matching refs:parser
92 def from_file (option, opt_str, value, parser): argument
93 lst = getattr (parser.values, option.dest)
95 setattr (parser.values, option.dest, lst)
97 def from_path (option, opt_str, value, parser): argument
98 lst = getattr (parser.values, option.dest)
100 setattr (parser.values, option.dest, lst)
163 parser = SrcParser(lexer.getTokens(), lexer.getDefines())
164 parser.only_expand_macros = options.only_expand_macros
166 parser.debug = True
167 root = parser.parse()
172 root = parser.parse()