ApolloParserWasm class

Dart implementation of an ApolloParser.

  • This only parses the exported Functions into an ASTRoot, so that the ApolloRunnerWasm can know what functions can be called.
  • There are NO plans to parse the entire Wasm code into an full AST tree because decompiling it in this way is not an efficient process.
Inheritance
Available Extensions

Constructors

ApolloParserWasm()

Properties

hashCode int
The hash code for this object.
no setterinherited
language String
The language of this parser.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptsLanguage(String language) bool
inherited
check(CodeUnit codeUnit) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(CodeUnit<Uint8List> codeUnit) Future<ParseResult<Uint8List>>
Parses a codeUnit to an ASTRoot and returns a ParseResult.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ApolloParserWasm
final