Пример #1
0
 void _Visit(JsDoWhileStatement node)
 {
     Keyword("do");
     Visit(node.Statement);
     Keyword("while");
     Control("(");
     Visit(node.Condition);
     Control(")");
 }
 protected virtual void _visit( JsDoWhileStatement node )
 {
     throw new NotImplementedException( "JsDoWhileStatement" );
 }
 protected override void _visit( JsDoWhileStatement node )
 {
     if (node != null)
     {
         visit( node.Condition );
         visit( node.Statement );
     }
 }