Esempio n. 1
0
 /// <summary>
 /// Sets the NameEquals edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the NameEquals edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setNameEquals(Columbus.Csharp.Asg.Nodes.Structure.NameEqualsSyntax node)
 {
     if (m_NameEquals != 0)
     {
         removeParentEdge(m_NameEquals);
     }
     m_NameEquals = node.Id;
     setParentEdge(m_NameEquals, (uint)Types.EdgeKind.edkAnonymousObjectMemberDeclaratorSyntax_NameEquals);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the Alias edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Alias edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setAlias(Columbus.Csharp.Asg.Nodes.Structure.NameEqualsSyntax node)
 {
     if (m_Alias != 0)
     {
         removeParentEdge(m_Alias);
     }
     m_Alias = node.Id;
     setParentEdge(m_Alias, (uint)Types.EdgeKind.edkUsingDirectiveSyntax_Alias);
 }
 /// <summary>
 /// Sets the NameEquals edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the NameEquals edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setNameEquals(Columbus.Csharp.Asg.Nodes.Structure.NameEqualsSyntax node)
 {
     if (m_NameEquals != 0)
     {
         removeParentEdge(m_NameEquals);
     }
     m_NameEquals = node.Id;
     setParentEdge(m_NameEquals, (uint)Types.EdgeKind.edkAttributeArgumentSyntax_NameEquals);
 }