/// <summary> /// Sets the Name edge. /// </summary> /// <param name="node">[in] The new end point of the Name edge.</param> /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception> public void setName(Columbus.Csharp.Asg.Nodes.Expression.IdentifierNameSyntax node) { if (m_Name != 0) { removeParentEdge(m_Name); } m_Name = node.Id; setParentEdge(m_Name, (uint)Types.EdgeKind.edkTypeParameterConstraintClauseSyntax_Name); }
/// <summary> /// Sets the Identifier edge. /// </summary> /// <param name="node">[in] The new end point of the Identifier edge.</param> /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception> public void setIdentifier(Columbus.Csharp.Asg.Nodes.Expression.IdentifierNameSyntax node) { if (m_Identifier != 0) { removeParentEdge(m_Identifier); } m_Identifier = node.Id; setParentEdge(m_Identifier, (uint)Types.EdgeKind.edkXmlNameAttributeSyntax_Identifier); }
/// <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.Expression.IdentifierNameSyntax node) { if (m_Alias != 0) { removeParentEdge(m_Alias); } m_Alias = node.Id; setParentEdge(m_Alias, (uint)Types.EdgeKind.edkAliasQualifiedNameSyntax_Alias); }