/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
blink_idl_parser.py | 31 The parser uses the PLY (Python Lex-Yacc) library to build a set of parsing 65 from ply import yacc namespace 114 # Below are grammar rules used by yacc, given by functions named p_<RULE>. 116 # * The body is the yacc action (semantics). 126 # Review of yacc: 127 # Yacc parses a token stream, internally producing a Concrete Syntax Tree 137 # (In yacc these are $$ and $1 ... $n.) 374 # yacc parameters 410 self.yaccobj = yacc.yacc(module=self [all...] |
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/ |
parser.py | 26 from ply import yacc namespace 380 yacc.yacc(module=parser, debug=0, write_tables=0) 382 tree = yacc.parse(source)
|
/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 907 self.yaccobj = yacc.yacc(module=self, tabmodule=None, debug=False, 936 # 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 948 self.yaccobj = yacc.yacc(module=self, tabmodule=None, debug=debug, 966 # p - Is the Yacc production object containing the stack of items [all...] |