Home | History | Annotate | Download | only in Chapter5

Lines Matching refs:LHS

126   ExprAST *LHS, *RHS;
128 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs)
129 : Op(op), LHS(lhs), RHS(rhs) {}
362 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) {
370 return LHS;
381 // the pending operator take RHS as its LHS.
388 // Merge LHS/RHS.
389 LHS = new BinaryExprAST(BinOp, LHS, RHS);
397 ExprAST *LHS = ParsePrimary();
398 if (!LHS) return 0;
400 return ParseBinOpRHS(0, LHS);
476 Value *L = LHS->Codegen();