Home
last modified time | relevance | path

Searched refs:parse_expr (Results 1 – 15 of 15) sorted by relevance

/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dparser.ml23 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
30 | [< e=parse_expr; stream >] ->
50 | [< 'Token.If; c=parse_expr;
51 'Token.Then ?? "expected 'then'"; t=parse_expr;
52 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
63 start=parse_expr;
65 end_=parse_expr;
69 | [< 'Token.Kwd ','; step=parse_expr >] -> Some step
74 | [< 'Token.In; body=parse_expr >] ->
123 and parse_expr = parser var
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dparser.ml24 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
31 | [< e=parse_expr; stream >] ->
51 | [< 'Token.If; c=parse_expr;
52 'Token.Then ?? "expected 'then'"; t=parse_expr;
53 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
64 start=parse_expr;
66 end_=parse_expr;
70 | [< 'Token.Kwd ','; step=parse_expr >] -> Some step
75 | [< 'Token.In; body=parse_expr >] ->
94 body=parse_expr >] ->
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dparser.ml23 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
30 | [< e=parse_expr; stream >] ->
50 | [< 'Token.If; c=parse_expr;
51 'Token.Then ?? "expected 'then'"; t=parse_expr;
52 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
63 start=parse_expr;
65 end_=parse_expr;
69 | [< 'Token.Kwd ','; step=parse_expr >] -> Some step
74 | [< 'Token.In; body=parse_expr >] ->
90 | [< 'Token.Kwd op when op != '(' && op != ')'; operand=parse_expr >] ->
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dparser.ml21 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< e=parse_expr; stream >] ->
87 and parse_expr = parser var
111 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
116 | [< e=parse_expr >] ->
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dparser.ml21 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< e=parse_expr; stream >] ->
87 and parse_expr = parser var
111 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
116 | [< e=parse_expr >] ->
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dparser.ml21 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
28 | [< e=parse_expr; stream >] ->
87 and parse_expr = parser var
111 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
116 | [< e=parse_expr >] ->
/external/llvm/docs/tutorial/
DOCamlLangImpl5.rst113 | [< 'Token.If; c=parse_expr;
114 'Token.Then ?? "expected 'then'"; t=parse_expr;
115 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
125 | [< 'Token.If; c=parse_expr;
126 'Token.Then ?? "expected 'then'"; t=parse_expr;
127 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
471 start=parse_expr;
473 end_=parse_expr;
477 | [< 'Token.Kwd ','; step=parse_expr >] -> Some step
482 | [< 'Token.In; body=parse_expr >] ->
[all …]
DOCamlLangImpl6.rst295 | [< 'Token.Kwd op when op != '(' && op != ')'; operand=parse_expr >] ->
326 and parse_expr = parser
883 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
890 | [< e=parse_expr; stream >] ->
910 | [< 'Token.If; c=parse_expr;
911 'Token.Then ?? "expected 'then'"; t=parse_expr;
912 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
923 start=parse_expr;
925 end_=parse_expr;
929 | [< 'Token.Kwd ','; step=parse_expr >] -> Some step
[all …]
DOCamlLangImpl2.rst162 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
197 | [< e=parse_expr; stream >] ->
298 and parse_expr = parser
475 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
496 | [< e=parse_expr >] ->
732 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
739 | [< e=parse_expr; stream >] ->
798 and parse_expr = parser
822 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
827 | [< e=parse_expr >] ->
DOCamlLangImpl7.rst721 body=parse_expr >] ->
728 | [< 'Token.Kwd '='; e=parse_expr >] -> Some e
1018 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
1025 | [< e=parse_expr; stream >] ->
1045 | [< 'Token.If; c=parse_expr;
1046 'Token.Then ?? "expected 'then'"; t=parse_expr;
1047 'Token.Else ?? "expected 'else'"; e=parse_expr >] ->
1058 start=parse_expr;
1060 end_=parse_expr;
1064 | [< 'Token.Kwd ','; step=parse_expr >] -> Some step
[all …]
DOCamlLangImpl4.rst583 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
590 | [< e=parse_expr; stream >] ->
649 and parse_expr = parser
673 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
678 | [< e=parse_expr >] ->
DOCamlLangImpl3.rst680 | [< 'Token.Kwd '('; e=parse_expr; 'Token.Kwd ')' ?? "expected ')'" >] -> e
687 | [< e=parse_expr; stream >] ->
746 and parse_expr = parser
770 | [< 'Token.Def; p=parse_prototype; e=parse_expr >] ->
775 | [< e=parse_expr >] ->
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dtemplate.py540 next, tokens = parse_expr(tokens, name)
544 def parse_expr(tokens, name, context=()): function
626 next, tokens = parse_expr(tokens, name, context)
660 next, tokens = parse_expr(tokens, name, context)
Dtemplate.py.2015-04-30-123224545 next, tokens = parse_expr(tokens, name)
549 def parse_expr(tokens, name, context=()):
631 next, tokens = parse_expr(tokens, name, context)
665 next, tokens = parse_expr(tokens, name, context)
/external/squashfs-tools/squashfs-tools/
Daction.c90 static struct expr *parse_expr(int subexp);
389 return parse_expr(1); in get_atom()
401 static struct expr *parse_expr(int subexp) in parse_expr() function
549 expr = parse_expr(0); in parse_action()
2813 atom->data = parse_expr(0); in parse_expr_argX()