internal override Statement CloneInternal(CloneContext ctx) { GotoStatement result = new GotoStatement(); if (Target != null) ctx.Complete += () => result.Target = ctx.Map(Target); return result; }
public void AcceptGoto(GotoStatement stmt) { switch (Pass) { case EPass.Preprocess: _gotoTargets.Add(stmt.Target); break; default: break; } }
public void AcceptGoto(GotoStatement stmt) { throw new NotConvertibleToInlineExpressionException(); }
public void AcceptGoto(GotoStatement stmt) { }
public virtual GotoStatement Goto() { GotoStatement stmt = new GotoStatement(); _cstack.Peek().Statements.Add(stmt); return stmt; }
public void AcceptGoto(GotoStatement stmt) { stmt.Successor = stmt.Target; }
public void AcceptGoto(GotoStatement stmt) { _execLeaf = stmt; }
public override void AcceptGoto(GotoStatement stmt) { Success = false; }
public void AcceptGoto(GotoStatement stmt) { _tw.WriteLine("-- goto unsupported"); }
// ???? public void AcceptGoto(GotoStatement stmt) { GenerateComments(stmt); _tw.Write("goto"); if (stmt.Label != null) _tw.Write(" " + stmt.Label); _tw.WriteLine(";"); }