Body class

Represent a body of e.g. a DartFunction or Method A body can be a block (e.g. with a return statement) or a functional block (using =>)

Inheritance

Constructors

Body(List<CodeNode> nodes)

Properties

hashCode int
The hash code for this object.
no setterinherited
nodes List<CodeNode>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

codeNodes(Context context) List<CodeNode>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toUnFormattedString(Context context) String
Recursive call to get the unformatted code from all nodes
inherited

Operators

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