Example #1
0
 //property
 public static DependsResults dependsSplit(Node_Property node)
 {
     DependsResults results = new DependsResults(null,null);
     results.tryFinish(node.type);
     return results;
 }
 protected virtual XmlElement serialize(Node_Property node)
 {
     XmlElement elem = _doc.CreateElement(node.typeName, desible1NS);
     append<Node_Identifier>(elem, node.@name, "name");
     append<Node_Boolean>(elem, node.@writable, "writable");
     append<INode_Expression>(elem, node.@type, "type");
     return elem;
 }
Example #3
0
 //property
 public static HashSet<Identifier> depends(Node_Property node)
 {
     return depends(node.type);
 }
Example #4
0
 //property
 public static Property evaluate(Node_Property node, IScope scope)
 {
     return new Property(
     node.name.value,
     node.writable.value,
     evaluateType(node.type, scope) );
 }