use of priv.bajdcc.util.VisitBag in project jMiniLang by bajdcc.
the class RuleExp method visit.
@Override
public void visit(ISyntaxComponentVisitor visitor) {
VisitBag bag = new VisitBag();
visitor.visitBegin(this, bag);
if (bag.bVisitEnd) {
visitor.visitEnd(this);
}
}
use of priv.bajdcc.util.VisitBag in project jMiniLang by bajdcc.
the class SequenceExp method visit.
@Override
public void visit(ISyntaxComponentVisitor visitor) {
VisitBag bag = new VisitBag();
visitor.visitBegin(this, bag);
if (bag.bVisitChildren) {
for (ISyntaxComponent exp : arrExpressions) {
exp.visit(visitor);
}
}
if (bag.bVisitEnd) {
visitor.visitEnd(this);
}
}
use of priv.bajdcc.util.VisitBag in project jMiniLang by bajdcc.
the class TokenExp method visit.
@Override
public void visit(ISyntaxComponentVisitor visitor) {
VisitBag bag = new VisitBag();
visitor.visitBegin(this, bag);
if (bag.bVisitEnd) {
visitor.visitEnd(this);
}
}
use of priv.bajdcc.util.VisitBag in project jMiniLang by bajdcc.
the class BranchExp method visit.
@Override
public void visit(ISyntaxComponentVisitor visitor) {
VisitBag bag = new VisitBag();
visitor.visitBegin(this, bag);
if (bag.bVisitChildren) {
for (ISyntaxComponent exp : arrExpressions) {
exp.visit(visitor);
}
}
if (bag.bVisitEnd) {
visitor.visitEnd(this);
}
}
use of priv.bajdcc.util.VisitBag in project jMiniLang by bajdcc.
the class BranchExp method visitReverse.
@Override
public void visitReverse(ISyntaxComponentVisitor visitor) {
VisitBag bag = new VisitBag();
visitor.visitBegin(this, bag);
if (bag.bVisitChildren) {
for (ISyntaxComponent exp : arrExpressions) {
exp.visitReverse(visitor);
}
}
if (bag.bVisitEnd) {
visitor.visitEnd(this);
}
}
Aggregations