Ejemplo n.º 1
0
 /**
  * Sets the type of the node.
  **/
 public void SetNodeType(ScriptNodeType type)
 {
     this.type = type;
 }
Ejemplo n.º 2
0
 /**
  * Creates a new ScriptNode of the given type.
  **/
 public ScriptNode(ScriptNodeType nodeType)
 {
     children = new List <ScriptNode> ();
     data     = new Dictionary <string, object> ();
     type     = nodeType;
 }