Lines Matching refs:ExprAST
98 class ExprAST { class
100 virtual ~ExprAST() {} in ~ExprAST()
105 class NumberExprAST : public ExprAST {
114 class VariableExprAST : public ExprAST {
123 class BinaryExprAST : public ExprAST {
125 ExprAST *LHS, *RHS;
128 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST()
134 class CallExprAST : public ExprAST {
136 std::vector<ExprAST *> Args;
139 CallExprAST(const std::string &callee, std::vector<ExprAST *> &args) in CallExprAST()
161 ExprAST *Body;
164 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {} in FunctionAST()
197 ExprAST *Error(const char *Str) { in Error()
210 static ExprAST *ParseExpression();
215 static ExprAST *ParseIdentifierExpr() { in ParseIdentifierExpr()
225 std::vector<ExprAST *> Args; in ParseIdentifierExpr()
228 ExprAST *Arg = ParseExpression(); in ParseIdentifierExpr()
249 static ExprAST *ParseNumberExpr() { in ParseNumberExpr()
250 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
256 static ExprAST *ParseParenExpr() { in ParseParenExpr()
258 ExprAST *V = ParseExpression(); in ParseParenExpr()
272 static ExprAST *ParsePrimary() { in ParsePrimary()
287 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { in ParseBinOpRHS()
302 ExprAST *RHS = ParsePrimary(); in ParseBinOpRHS()
323 static ExprAST *ParseExpression() { in ParseExpression()
324 ExprAST *LHS = ParsePrimary(); in ParseExpression()
362 if (ExprAST *E = ParseExpression()) in ParseDefinition()
369 if (ExprAST *E = ParseExpression()) { in ParseTopLevelExpr()