コード例 #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.SimpleNameSyntax node)
 {
     if (m_Name != 0)
     {
         removeParentEdge(m_Name);
     }
     m_Name = node.Id;
     setParentEdge(m_Name, (uint)Types.EdgeKind.edkMemberBindingExpressionSyntax_Name);
 }
コード例 #2
0
 /// <summary>
 /// Sets the Right edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Right edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setRight(Columbus.Csharp.Asg.Nodes.Expression.SimpleNameSyntax node)
 {
     if (m_Right != 0)
     {
         removeParentEdge(m_Right);
     }
     m_Right = node.Id;
     setParentEdge(m_Right, (uint)Types.EdgeKind.edkQualifiedNameSyntax_Right);
 }