예제 #1
0
 public void visit(SFNode field) {
     VRML97Token token = context.PeekNextToken();
     switch (token.Text) {
         case "NULL":
             field.Node = null;
             break;
         default:
             context.PushNodeContainer(field);
             nodeStatementParser(context);
             context.PopNodeContainer();
             break;
     }
 }
예제 #2
0
 public void visit(SFNode field) {
     field.Node = _child;
 }