ArkTSGeneratorAdapter class
A GeneratorAdapter that generates ArkTS source code.
- Implemented types
Constructors
Properties
-
fileTypeList
↔ List<
FileType> -
A list of file types the generator should create.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
StringSink sink, PigeonOptions options, Root root, FileType fileType) → void -
Write the generated code described in
root
tosink
using theoptions
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldGenerate(
PigeonOptions options, FileType fileType) → IOSink? -
Returns an IOSink instance to be written to
if the GeneratorAdapter should generate.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
PigeonOptions options, Root root) → List< Error> -
Generates errors that would only be appropriate for this GeneratorAdapter.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited