コード例 #1
0
 // -------------------------------------------------------------------
 /// Returns a list of all enable ports that affects this function call.
 public override iCS_EditorObject[] GetRelatedEnablePorts()
 {
     return(ControlFlow.GetAllRelatedEnablePorts(myTriggerPort.ParentNode));
 }
コード例 #2
0
 // -------------------------------------------------------------------
 /// Returns a list of all enable ports that affects this function call.
 public override iCS_EditorObject[] GetRelatedEnablePorts()
 {
     return(ControlFlow.GetAllRelatedEnablePorts(VSObject));
 }
コード例 #3
0
 // -------------------------------------------------------------------------
 /// Builds of list of conditional contexts associated with the list of
 /// function calls.
 ///
 /// @param funcCalls List of function calls.
 /// @return List of conditional context associated with the list of function
 ///         calls.
 ///
 iCS_EditorObject[][] GetConditionalContexts(iCS_EditorObject[] funcCalls)
 {
     return(P.map(fc => ControlFlow.GetAllRelatedEnablePorts(fc), funcCalls));
 }