/// <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); }
/// <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); }