/// <summary>
 /// Sets the Type edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Type edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_Type != 0)
     {
         removeParentEdge(m_Type);
     }
     m_Type = node.Id;
     setParentEdge(m_Type, (uint)Types.EdgeKind.edkIncompleteMemberSyntax_Type);
 }
Example #2
0
 /// <summary>
 /// Sets the ElementType edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the ElementType edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setElementType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_ElementType != 0)
     {
         removeParentEdge(m_ElementType);
     }
     m_ElementType = node.Id;
     setParentEdge(m_ElementType, (uint)Types.EdgeKind.edkPointerTypeSyntax_ElementType);
 }
 /// <summary>
 /// Sets the Type edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Type edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_Type != 0)
     {
         removeParentEdge(m_Type);
     }
     m_Type = node.Id;
     setParentEdge(m_Type, (uint)Types.EdgeKind.edkForEachStatementSyntax_Type);
 }
Example #4
0
 /// <summary>
 /// Sets the Type edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Type edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_Type != 0)
     {
         removeParentEdge(m_Type);
     }
     m_Type = node.Id;
     setParentEdge(m_Type, (uint)Types.EdgeKind.edkStackAllocArrayCreationExpressionSyntax_Type);
 }
Example #5
0
 /// <summary>
 /// Sets the Type edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Type edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_Type != 0)
     {
         removeParentEdge(m_Type);
     }
     m_Type = node.Id;
     setParentEdge(m_Type, (uint)Types.EdgeKind.edkConversionOperatorMemberCrefSyntax_Type);
 }
 /// <summary>
 /// Sets the Type edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Type edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_Type != 0)
     {
         removeParentEdge(m_Type);
     }
     m_Type = node.Id;
     setParentEdge(m_Type, (uint)Types.EdgeKind.edkBasePropertyDeclarationSyntax_Type);
 }
 /// <summary>
 /// Sets the ReturnType edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the ReturnType edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setReturnType(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_ReturnType != 0)
     {
         removeParentEdge(m_ReturnType);
     }
     m_ReturnType = node.Id;
     setParentEdge(m_ReturnType, (uint)Types.EdgeKind.edkMethodDeclarationSyntax_ReturnType);
 }
Example #8
0
 /// <summary>
 /// Sets the Container edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Container edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setContainer(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
 {
     if (m_Container != 0)
     {
         removeParentEdge(m_Container);
     }
     m_Container = node.Id;
     setParentEdge(m_Container, (uint)Types.EdgeKind.edkQualifiedCrefSyntax_Container);
 }
Example #9
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.TypeSyntax node)
 {
     if (m_Name != 0)
     {
         removeParentEdge(m_Name);
     }
     m_Name = node.Id;
     setParentEdge(m_Name, (uint)Types.EdgeKind.edkNameMemberCrefSyntax_Name);
 }
Example #10
0
        // ---------- Edge setter function(s) ----------

        /// <summary>
        /// Adds a new Arguments edge to the node and inserts it after the other ones.
        /// </summary>
        /// <param name="node">[in] The end point of the new Arguments edge.</param>
        /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there is something wrong with the given node.</exception>
        public void addArguments(Columbus.Csharp.Asg.Nodes.Expression.TypeSyntax node)
        {
            addArguments(node.Id);
        }