/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
blink_idl_parser.py | 31 The parser uses the PLY (Python Lex-Yacc) library to build a set of parsing 62 from ply import yacc namespace 104 # Below are grammar rules used by yacc, given by functions named p_<RULE>. 106 # * The body is the yacc action (semantics). 116 # Review of yacc: 117 # Yacc parses a token stream, internally producing a Concrete Syntax Tree 127 # (In yacc these are $$ and $1 ... $n.) 375 # Remove REMOVED_RULES from listing so yacc doesn't parse them 391 self.yaccobj = yacc.yacc(module=self, start=STARTING_SYMBOL, method='SLR', debug=debug, outputdir=outputdir [all...] |
/external/chromium_org/mojo/public/bindings/parse/ |
mojo_parser.py | 19 from ply import yacc namespace 27 from ply import yacc namespace 260 yacc.yacc(module=parser, debug=0, write_tables=0) 262 tree = yacc.parse(open(filename).read())
|
/external/chromium_org/ppapi/generators/ |
idl_parser.py | 11 # The parser is uses the PLY yacc library to build a set of parsing rules based 40 from ply import yacc namespace 846 self.yaccobj = yacc.yacc(module=self, tabmodule=None, debug=False, 875 # p - Is the Yacc production object containing the stack of items [all...] |
/external/chromium_org/third_party/ply/ |
yacc.py | 2 # ply: yacc.py 68 # Change these to modify the default behavior of yacc (if you wish) 71 yaccdebug = 1 # Debugging mode. If set, yacc generates a 80 yaccdevel = 0 # Set to True if developing yacc. This turns off optimized 139 # Exception raised for yacc-related errors 534 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type)) 536 sys.stderr.write("yacc: Syntax error, token=%s" % errtoken.type) 538 sys.stderr.write("yacc: Parse error in input. EOF\n") 586 raise RuntimeError("yacc: internal parser error!!!\n") 3036 def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, start=None, function [all...] |
/external/chromium_org/tools/idl_parser/ |
idl_parser.py | 11 # The parser is uses the PLY yacc library to build a set of parsing rules based 47 from ply import yacc namespace 54 from ply import yacc namespace 879 self.yaccobj = yacc.yacc(module=self, tabmodule=None, debug=debug, 897 # p - Is the Yacc production object containing the stack of items
|