示例#1
0
 public override void VisitForStatement(ForStatementSyntaxNode node)
 {
     OutputControlKeyword(node.ForKeyword);
     Visit(node.Assignment);
     Visit(node.OptionalCommas);
     Visit(node.Body);
     OutputControlKeyword(node.EndKeyword);
 }
示例#2
0
 public override void VisitForStatement(ForStatementSyntaxNode node)
 {
     AddToken(node.ForKeyword, _scheme.ControlKeyword);
     Visit(node.Assignment);
     Visit(node.OptionalCommas);
     Visit(node.Body);
     AddToken(node.EndKeyword, _scheme.ControlKeyword);
 }
示例#3
0
 public virtual void VisitForStatement(ForStatementSyntaxNode node)
 {
     DefaultVisit(node);
 }