Пример #1
0
 /// <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.NameSyntax node)
 {
     if (m_Name != 0)
     {
         removeParentEdge(m_Name);
     }
     m_Name = node.Id;
     setParentEdge(m_Name, (uint)Types.EdgeKind.edkExplicitInterfaceSpecifierSyntax_Name);
 }
Пример #2
0
 /// <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.NameSyntax node)
 {
     if (m_Name != 0)
     {
         removeParentEdge(m_Name);
     }
     m_Name = node.Id;
     setParentEdge(m_Name, (uint)Types.EdgeKind.edkAttributeSyntax_Name);
 }
Пример #3
0
 /// <summary>
 /// Sets the Left edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Left edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setLeft(Columbus.Csharp.Asg.Nodes.Expression.NameSyntax node)
 {
     if (m_Left != 0)
     {
         removeParentEdge(m_Left);
     }
     m_Left = node.Id;
     setParentEdge(m_Left, (uint)Types.EdgeKind.edkQualifiedNameSyntax_Left);
 }