Lines Matching refs:ExpressionAST
169 class ExpressionAST {
174 ExpressionAST(StringRef ExpressionStr) : ExpressionStr(ExpressionStr) {} in ExpressionAST() function
176 virtual ~ExpressionAST() = default;
195 class ExpressionLiteral : public ExpressionAST {
203 : ExpressionAST(ExpressionStr), Value(Val) {} in ExpressionLiteral()
237 std::unique_ptr<ExpressionAST> AST;
245 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) in Expression()
250 ExpressionAST *getAST() const { return AST.get(); } in getAST()
325 class NumericVariableUse : public ExpressionAST {
332 : ExpressionAST(Name), Variable(Variable) {} in NumericVariableUse()
348 class BinaryOperation : public ExpressionAST {
351 std::unique_ptr<ExpressionAST> LeftOperand;
354 std::unique_ptr<ExpressionAST> RightOperand;
361 std::unique_ptr<ExpressionAST> LeftOp, in BinaryOperation()
362 std::unique_ptr<ExpressionAST> RightOp) in BinaryOperation()
363 : ExpressionAST(ExpressionStr), EvalBinop(EvalBinop) { in BinaryOperation()
768 static Expected<std::unique_ptr<ExpressionAST>>
781 static Expected<std::unique_ptr<ExpressionAST>>
783 std::unique_ptr<ExpressionAST> LeftOp, bool IsLegacyLineExpr,
793 static Expected<std::unique_ptr<ExpressionAST>>
804 static Expected<std::unique_ptr<ExpressionAST>>