Get the elements of a basic block vertex, i.e., the vertices that are part of this block, only connected by FDs, vertices should never occur in multiple bbs.
Get the type of the given vertex, e.g. CfgVertex.getType(CfgVertex.makeExpression('node-1')) gives CfgVertexType.Expression.
Check whether the given vertex is a basic block vertex.
Check whether the given vertex is an expression vertex.
Check whether the given vertex is a statement vertex.
Create a new basic block vertex with the given id and elements.
the id of the vertex, which should directly relate to the AST node
the vertices that are part of this block in the order they run, only connected by FDs; a vertex should never occur in multiple blocks
Create a new expression vertex with the given id, children, and call targets.
A convenience function to create a new vertex which is either a statement or an expression.
Create a new statement vertex with the given id, children, and call targets.
Readonlyname: "CfgVertex"Sets in-place Set the elements of a basic block vertex, i.e., the vertices that are part of this block, only connected by FDs, vertices should never occur in multiple bbs.
Convert the given vertex type to a string for easier debugging and visualization.
Helper object for CfgVertex - a vertex in the ControlFlowGraph.