Ejemplo n.º 1
0
 /// <summary>
 /// Sets the Default edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Default edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setDefault(Columbus.Csharp.Asg.Nodes.Structure.EqualsValueClauseSyntax node)
 {
     if (m_Default != 0)
     {
         removeParentEdge(m_Default);
     }
     m_Default = node.Id;
     setParentEdge(m_Default, (uint)Types.EdgeKind.edkParameterSyntax_Default);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the Initializer edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Initializer edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setInitializer(Columbus.Csharp.Asg.Nodes.Structure.EqualsValueClauseSyntax node)
 {
     if (m_Initializer != 0)
     {
         removeParentEdge(m_Initializer);
     }
     m_Initializer = node.Id;
     setParentEdge(m_Initializer, (uint)Types.EdgeKind.edkPropertyDeclarationSyntax_Initializer);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets the EqualsValue edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the EqualsValue edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setEqualsValue(Columbus.Csharp.Asg.Nodes.Structure.EqualsValueClauseSyntax node)
 {
     if (m_EqualsValue != 0)
     {
         removeParentEdge(m_EqualsValue);
     }
     m_EqualsValue = node.Id;
     setParentEdge(m_EqualsValue, (uint)Types.EdgeKind.edkEnumMemberDeclarationSyntax_EqualsValue);
 }