CfgBuilder class
Builds a Control Flow Graph from a Dart AST.
Uses the visitor pattern to traverse AST nodes and construct a graph of basic blocks connected by control flow edges.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildFromConstructor(
ConstructorDeclaration node, String className) → ControlFlowGraph - Builds a CFG from a constructor declaration.
-
buildFromFunction(
FunctionDeclaration node) → ControlFlowGraph - Builds a CFG from a function declaration.
-
buildFromMethod(
MethodDeclaration node) → ControlFlowGraph - Builds a CFG from a method declaration.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited