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