public override void Visit(LabeledStatementNode node) { WriteIndent(); ProgramBuilder.Append(node.Label); ProgramBuilder.Append(": "); node.Stat.Visit(this); }
public override void VisitLabelNode(LabeledStatementNode l) { TACodeContainer.PushNode(new TacEmptyNode() { Label = "l" + l.Label }); }
public virtual Value evaluate(Context cx, LabeledStatementNode node) { output("<LabeledStatementNode position=\"" + node.pos() + "\">"); indent_Renamed_Field++; if (node.label != null) { node.label.evaluate(cx, this); } if (node.statement != null) { node.statement.evaluate(cx, this); } indent_Renamed_Field--; output("</LabeledStatementNode>"); return(null); }
public override void Visit(LabeledStatementNode node) { PreVisit(node); node.Stat.Visit(this); PostVisit(node); }
public virtual void VisitLabelNode(LabeledStatementNode gt) { }
protected override Boolean handleLabeled(LabeledStatementNode labeled, HashSet <StatementNode> visited) { return(handleStatement(labeled.getStatement(), visited)); }
public virtual Value evaluate(Context cx, LabeledStatementNode node) { output("<LabeledStatementNode position=\"" + node.pos() + "\">"); indent_Renamed_Field++; if (node.label != null) { node.label.evaluate(cx, this); } if (node.statement != null) { node.statement.evaluate(cx, this); } indent_Renamed_Field--; output("</LabeledStatementNode>"); return null; }
public virtual void VisitLabeledStatementNode(LabeledStatementNode node) { Visit(node.LabelIdNode); Visit(node.ColonNode); Visit(node.StatementNode); }
public virtual void Visit(LabeledStatementNode node) { }
protected override Void handleLabeled(LabeledStatementNode labeled, Set <TypeInfo> dependencies) { handleStatement(labeled.Statement, dependencies); return(null); }
public override void Visit(LabeledStatementNode node) { OnEnter(node); base.Visit(node); OnExit(node); }
protected override Void handleLabeled(LabeledStatementNode labeled, Void source) { handleStatement(labeled.Statement, null); return(null); }
public override void Visit(LabeledStatementNode node) { node.Stat.Visit(this); }