Exemple #1
0
 /// <summary>
 /// Sets the Declaration edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Declaration edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setDeclaration(Columbus.Csharp.Asg.Nodes.Base.Positioned node)
 {
     if (m_Declaration != 0)
     {
     }
     m_Declaration = node.Id;
 }
 /// <summary>
 /// Sets the Body edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Body edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setBody(Columbus.Csharp.Asg.Nodes.Base.Positioned node)
 {
     if (m_Body != 0)
     {
         removeParentEdge(m_Body);
     }
     m_Body = node.Id;
     setParentEdge(m_Body, (uint)Types.EdgeKind.edkAnonymousFunctionExpressionSyntax_Body);
 }