parse abstract method

ParseResult parse(
  1. String source
)

Attempts to parse the source string matching this element.

Returns a ParseResult containing the parsed lexeme and remaining string on success. On failure, returns a failed ParseResult.

Implementation

ParseResult parse(String source);