ProgramInfo class

Represents information about compiled program.

Constructors

ProgramInfo()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
root ProgramInfoNode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshotInfo SnapshotInfo?
V8 snapshot profile if this ProgramInfo object was created from an output of --write-v8-snapshot-profile-to=... flag.
getter/setter pair
stubs ProgramInfoNode
final
totalSize int
Total size of all the nodes in the program.
no setter
unknown ProgramInfoNode
final

Methods

lookup(List<String> path) ProgramInfoNode?
Lookup a node in the program given a path to it.
makeNode({required String name, required ProgramInfoNode parent, required NodeType type}) ProgramInfoNode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert this program info to a JSON map using infoToJson to convert data attached to nodes into its JSON representation.
toString() String
A string representation of this object.
inherited
visit(void callback(String? pkg, String lib, String? cls, String? fun, ProgramInfoNode n)) → void
Recursively visit all function nodes, which have FunctionInfo.info populated.

Operators

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

Constants

rootId → const int
stubsId → const int
unknownId → const int