Esempio n. 1
0
 /// <summary>
 /// Sets the method edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the method edge.</param>
 /// <exception cref="Columbus.Lim.Asg.LimException">Throws LimException if there's something wrong with the given node.</exception>
 public void setMethod(Columbus.Lim.Asg.Nodes.Logical.Method node)
 {
     if (m_method != 0)
     {
     }
     m_method = node.Id;
 }
Esempio n. 2
0
 /// <summary>
 /// Abstract end visitor, which calls the end visitor of the base class (Columbus.Lim.Asg.Nodes.Logical.Scope) of the Columbus.Lim.Asg.Nodes.Logical.Method node.
 /// </summary>
 /// <param name="node">[in] The node which is visited.</param>
 public override void visitEnd(Columbus.Lim.Asg.Nodes.Logical.Method node, bool callVirtualBase)
 {
     visitEnd((Columbus.Lim.Asg.Nodes.Logical.Scope)node, false);
 }
Esempio n. 3
0
 /// <summary>
 /// Deselects the actual node (and only this).
 /// </summary>
 /// <param name="node">[in] The node which is visited.</param>
 public override void visitEnd(Columbus.Lim.Asg.Nodes.Logical.Method node, bool callVirtualBase)
 {
     selector(node.Id);
 }
Esempio n. 4
0
        // ---------- Edge setter function(s) ----------

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