SourceNode class

Source node represents source file and it's imports

Constructors

SourceNode({required String url, required DocumentNode document, Set<SourceNode> imports = const {}})
const

Properties

document → DocumentNode
final
flatDocument → DocumentNode
Returns flattened Document as a temporary solution before existing builders have adopted SourceNode
no setter
hashCode int
The hash code for this object.
no setterinherited
imports Set<SourceNode>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

getRefs() Set<Reference>
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