parse abstract method

Future<ParseResult<T>> parse(
  1. CodeUnit<T> codeUnit
)

Parses a codeUnit to an ASTRoot and returns a ParseResult.

If some error occurs, returns a ParseResult with an error message.

Implementation

Future<ParseResult<T>> parse(CodeUnit<T> codeUnit);