FunctionIr class

Represents the IR for a single function/method.

Available extensions

Constructors

FunctionIr({required String name, required ControlFlowGraph cfg, required List<Variable> parameters, required String filePath, required int offset, required int endOffset})

Properties

cfg ControlFlowGraph
The Control Flow Graph in SSA form.
final
endOffset int
End offset in source.
final
filePath String
Source file path.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Fully qualified name (e.g., "MyClass.myMethod" or "topLevelFunction").
final
offset int
Start offset in source.
final
parameters List<Variable>
Parameter variables.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runPointsToAnalysis() PointsToAnalysis

Available on FunctionIr, provided by the FunctionPointsToAnalysisExtension extension

Runs points-to analysis on this function.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited