/// <summary> /// Sets the Parameter edge. /// </summary> /// <param name="node">[in] The new end point of the Parameter edge.</param> /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception> public void setParameter(Columbus.Csharp.Asg.Nodes.Structure.ParameterSyntax node) { if (m_Parameter != 0) { removeParentEdge(m_Parameter); } m_Parameter = node.Id; setParentEdge(m_Parameter, (uint)Types.EdgeKind.edkSimpleLambdaExpressionSyntax_Parameter); }
// ---------- Edge setter function(s) ---------- /// <summary> /// Adds a new Parameters edge to the node and inserts it after the other ones. /// </summary> /// <param name="node">[in] The end point of the new Parameters edge.</param> /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there is something wrong with the given node.</exception> public void addParameters(Columbus.Csharp.Asg.Nodes.Structure.ParameterSyntax node) { addParameters(node.Id); }