Lines Matching refs:AstNode
32 std::string AstNode::ToString() { in ToString()
131 ArgList::ArgList(std::vector<std::unique_ptr<AstNode>> arg_list) in ArgList()
229 void StatementBlock::AddStatement(unique_ptr<AstNode> statement) { in AddStatement()
233 void StatementBlock::AddStatement(AstNode* statement) { in AddStatement()
240 statements_.push_back(unique_ptr<AstNode>(new Statement(expression_str))); in AddLiteral()
242 statements_.push_back(unique_ptr<AstNode>( in AddLiteral()
342 Assignment::Assignment(const std::string& left, AstNode* right) in Assignment()
366 IfStatement::IfStatement(AstNode* expression, bool invert_expression) in IfStatement()
382 Statement::Statement(unique_ptr<AstNode> expression) in Statement()
385 Statement::Statement(AstNode* expression) : expression_(expression) {} in Statement()
395 Comparison::Comparison(AstNode* lhs, const string& comparison, AstNode* rhs) in Comparison()