Difference between revisions of "XCSG:Contains"

From AtlasWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
{{Edge
 
{{Edge
 
| description = Indicates that the predecessor contains the successor in a sense specified by the specific type of [[Contains]] edge.
 
| description = Indicates that the predecessor contains the successor in a sense specified by the specific type of [[Contains]] edge.
| permitted = Container,Node,1,*;
+
| permitted = Node,Node,1,*;
 
}}
 
}}

Latest revision as of 14:24, 20 October 2015

A Contains edge indicates that the code element represented by the node it comes from contains the code element represented by the node it goes to, either logically or lexically.

Note that the contains edges do not necessarily form a tree or forest of trees, though they may for some languages.

Specification

Metaclass Contains
Description Indicates that the predecessor contains the successor in a sense specified by the specific type of Contains edge.
Direct Subkinds HasControlFlow, HasReturnValue, HasVariable
Permitted Connections
Predecessor Multiplicity Successor
Node 1 ➞ ✱ Node