Esempio n. 1
0
 //property
 public static DependsResults dependsSplit(Node_Property node)
 {
     DependsResults results = new DependsResults(null,null);
     results.tryFinish(node.type);
     return results;
 }
Esempio n. 2
0
 //callee
 public static DependsResults dependsSplit(Node_Callee node)
 {
     DependsResults results = new DependsResults(null,null);
     foreach( Node_ParameterInfo pi in node.parameterInfos )
     results.tryFinish(pi.type);
     results.tryFinish(node.returnType);
     return results;
 }
Esempio n. 3
0
 //breeder
 public static DependsResults dependsSplit(Node_Breeder node)
 {
     DependsResults results = new DependsResults(null,null);
     if( node.type != null )
     results.tryFinish(node.type);
     return results;
 }
Esempio n. 4
0
 //interface
 public static DependsResults dependsSplit(Node_Interface node)
 {
     DependsResults results = new DependsResults(null,null);
     foreach( INode_Expression inher in node.inheritees )
     results.tryFinish(inher);
     foreach( Node_StatusedMember sm in node.members )
     results.UnionWith(dependsSplitAny(sm.member));
     return results;
 }
Esempio n. 5
0
 //function
 public static DependsResults dependsSplit(Node_Function node)
 {
     //xxx temporary
     DependsResults source = new DependsResults(null,null);
     foreach( Node_ParameterImpl pi in node.parameterImpls )
     source.executeDepends.UnionWith(depends(pi));
     source.executeDepends.UnionWith(depends(node.returnType));
     source.finishDepends.UnionWith(depends(node.body));
     return source;
 }
 public void UnionWith(DependsResults results)
 {
     _executeDepends.UnionWith(results.executeDepends);
     _finishDepends.UnionWith(results.finishDepends);
 }