protected internal Goto(NRefactory.GotoStatement gotoStatement, IScope scope, INRefcatoryExpressionVisitor visitor) : base(scope, visitor) { _gotoStatement = gotoStatement; InternalType = TypeSystem.Void; LabelTarget = RootScope.RegisterLabel(InternalType, _gotoStatement.Label); }
void IAstVisitor.VisitGotoStatement(GotoStatement gotoStatement) { Visit(EnterGotoStatement, LeaveGotoStatement, gotoStatement); }
public override void VisitGotoStatement(GotoStatement gotoStatement) { VisitChildren(gotoStatement); FixSemicolon(gotoStatement.SemicolonToken); }
public virtual S VisitGotoStatement(GotoStatement gotoStatement, T data) { return(VisitChildren(gotoStatement, data)); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { GotoStatement o = other as GotoStatement; return(o != null && MatchString(this.Label, o.Label)); }
public static Goto Goto(NRefactory.GotoStatement gotoStatement, IScope scope, INRefcatoryExpressionVisitor visitor) { return(new Goto(gotoStatement, scope, visitor)); }
public virtual S VisitGotoStatement(GotoStatement gotoStatement, T data) { throw new NotImplementedException(); }
public override AstExpression VisitGotoStatement(NRefactory.GotoStatement gotoStatement, IScope scope) { return(AstExpression.Goto(gotoStatement, scope, this)); }