예제 #1
0
void PrintEquelleASTVisitor::visit(VarAssignNode& node)
{
    std::cout << indent() << node.name() << " = ";
}
예제 #2
0
void PrintASTVisitor::visit(VarAssignNode& node)
{
    std::cout << indent() << "VarAssignNode: " << node.name() << '\n';
    ++indent_;
}