Example #1
0
void ASTNode::accept(ASTVisitor &visitor) {
    visitor.visit(this);
}
Example #2
0
void ASTElem::accept(ASTVisitor &v)
{
    v.addToPath(this);
    v.visit(*this);
    v.removeFromPath(this);
}
Example #3
0
void ScopeBody::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
Example #4
0
void ProgramElement::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
void ModuleMemberAccessNode::accept(ASTVisitor& visitor) { visitor.visit(this); }
Example #6
0
void ASTAttribTest::accept(ASTVisitor &v)
{
    v.addToPath(this);
    v.visit(*this);
    v.removeFromPath(this);
}
Example #7
0
void NonTerminal::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
Example #8
0
void Op_PostfixDecrement::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
 void AtomicExpressionNode::accept(ASTVisitor& visitor) {
     visitor.visit(*this);
 }
Example #10
0
void ASTDefCollation::accept(ASTVisitor &v)
{
    v.addToPath(this);
    v.visit(*this);
    v.removeFromPath(this);
}
 void VariableDeclarationNode::accept(ASTVisitor& visitor) {
     visitor.visit(*this);
 }
Example #12
0
void NT_FunctionCall::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
Example #13
0
void SoyExpression::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
Example #14
0
void Op_Exponentiation::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
Example #15
0
void ASTCreateFtIndex::accept(ASTVisitor &v)
{
    v.addToPath(this);
    v.visit(*this);
    v.removeFromPath(this);
}
Example #16
0
void Op_CompNotEqual::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
void FunctionDeclarationNode::accept(ASTVisitor& visitor) { visitor.visit(this); }
Example #18
0
void Op_AssignMult::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}
Example #19
0
void ClosingChevr::accept(ASTVisitor& visitor)
{
	visitor.visit(*this);
	for(auto it = children.begin() ; it != children.end() ; ++it)
		(*it)->accept(visitor);
}