Searched defs:PrefixExpression (Results 1 – 5 of 5) sorted by relevance
22 struct PrefixExpression : public Expression { struct23 PrefixExpression(Token::Kind op, std::unique_ptr<Expression> operand) in PrefixExpression() argument28 bool isConstant() const override { in isConstant()32 bool hasSideEffects() const override { in hasSideEffects()37 std::unique_ptr<Expression> constantPropagate(const IRGenerator& irGenerator, in constantPropagate()65 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone() argument68 String description() const override { in description()72 std::unique_ptr<Expression> fOperand;73 const Token::Kind fOperator;75 typedef Expression INHERITED;
27 PrefixExpression(Operator op, std::unique_ptr<Expression> operand) in PrefixExpression() function
45 class PrefixExpression; variable
39 class PrefixExpression; variable
36 class PrefixExpression; variable