Lines Matching refs:Ast
21 | [< 'Token.Number n >] -> Ast.Number n
43 Ast.Call (id, Array.of_list (List.rev args))
46 | [< >] -> Ast.Variable id
54 Ast.If (c, t, e)
76 Ast.For (id, start, end_, step, body)
95 Ast.Var (Array.of_list (List.rev var_names), body)
105 Ast.Unary (op, operand)
141 let lhs = Ast.Binary (c, lhs, rhs) in
186 Ast.Prototype (id, Array.of_list (List.rev args))
202 Ast.Prototype (name, args)
204 Ast.BinOpPrototype (name, args, binary_precedence)
211 Ast.Function (p, e)
217 Ast.Function (Ast.Prototype ("", [||]), e)