public virtual void VisitGotoStatement(GotoStatement gotoStatement) { StartNode(gotoStatement); DebugStart(gotoStatement); WriteKeyword(GotoStatement.GotoKeywordRole); WriteIdentifier(gotoStatement.GetChildByRole(Roles.Identifier), BoxedTextColor.Label); SemicolonDebugEnd(gotoStatement); EndNode(gotoStatement); }
public void VisitGotoStatement(GotoStatement gotoStatement) { StartNode(gotoStatement); WriteKeyword(GotoStatement.GotoKeywordRole); WriteIdentifier(gotoStatement.GetChildByRole(Roles.Identifier)); Semicolon(); EndNode(gotoStatement); }
public void VisitGotoStatement(GotoStatement gotoStatement) { JsonObject statement = CreateJsonStatement(gotoStatement); AddKeyword(statement, GotoStatement.GotoKeywordRole); statement.AddJsonValue("identifier", GetIdentifier(gotoStatement.GetChildByRole(Roles.Identifier))); Push(statement); }