LibraryGenerator class
Emits one parser file.
Constructors
- LibraryGenerator(LibraryReader sourceInfo, AssetId sourceAsset, bool nullSafe)
Properties
-
constants
→ Iterable<
Field> -
Get the source for the tag name constands
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
importUris
→ Iterable<
String> -
Get the source for all import statements
no setter
-
methods
→ Iterable<
Method> -
Get the source for all methods
no setter
- nullSafe → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceAsset → AssetId
-
Name, location, etc. of the source file (needed to import that into
its parser)
final
- sourceInfo → LibraryReader
-
The result of parsing the source file.
final
- toCode → Library
-
Assemble everything into a finished file
no setter
Methods
-
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