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
-
- Object
- ApolloCodeParser<
Uint8List> - ApolloParserWasm
- Available Extensions
Constructors
Properties
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 aParseResult
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ApolloParserWasm
-
final