// LabeledStatement private void DefaultWalk(LabeledStatement node) { if (Walk(node)) { WalkNode(node.Statement); } PostWalk(node); }
// LabeledStatement private void Dump(LabeledStatement node) { Out(".labeled {", Flow.NewLine); Indent(); WalkNode(node.Statement); Dedent(); Out(Flow.NewLine, "}"); }
// LabeledStatement protected internal override bool Walk(LabeledStatement node) { BitArray exit = new BitArray(_bits.Length, true); PushStatement(exit, node); WalkNode(node.Statement); PopStatement(); _bits.And(exit); return(false); }
// LabeledStatement private Statement Rewrite(LabeledStatement node) { Statement statement = RewriteStatement(node.Statement); if ((object)statement != (object)node.Statement) { return(Ast.Labeled(node.Span, statement)); } else { return(node); } }
// LabeledStatement protected internal override bool Walk(LabeledStatement node) { BitArray exit = new BitArray(_bits.Length, true); PushStatement(exit, node); WalkNode(node.Statement); PopStatement(); _bits.And(exit); return false; }