Exemple #1
0
 /// <summary>
 /// Sets the Statement edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Statement edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setStatement(Columbus.Csharp.Asg.Nodes.Statement.StatementSyntax node)
 {
     if (m_Statement != 0)
     {
         removeParentEdge(m_Statement);
     }
     m_Statement = node.Id;
     setParentEdge(m_Statement, (uint)Types.EdgeKind.edkLockStatementSyntax_Statement);
 }
 /// <summary>
 /// Adds a new Statements edge to the node and inserts it after the other ones.
 /// </summary>
 /// <param name="node">[in] The end point of the new Statements edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there is something wrong with the given node.</exception>
 public void addStatements(Columbus.Csharp.Asg.Nodes.Statement.StatementSyntax node)
 {
     addStatements(node.Id);
 }