Home | History | Annotate | Download | only in Chapter2

Lines Matching defs:RHS

101   ExprAST *LHS, *RHS;
103 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs)
104 : Op(op), LHS(lhs), RHS(rhs) {}
255 ExprAST *RHS = ParsePrimary();
256 if (!RHS) return 0;
258 // If BinOp binds less tightly with RHS than the operator after RHS, let
259 // the pending operator take RHS as its LHS.
262 RHS = ParseBinOpRHS(TokPrec+1, RHS);
263 if (RHS == 0) return 0;
266 // Merge LHS/RHS.
267 LHS = new BinaryExprAST(BinOp, LHS, RHS);