Package io.nats.jparse.parser.functable
Interface ParsePartFunction
-
public interface ParsePartFunction
A function that parses a portion of a `CharSource` and adds the resulting tokens to a `TokenList`.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
parse(CharSource source, TokenList tokens)
Parses the given character source and adds the resulting tokens to the given list.
-
-
-
Method Detail
-
parse
boolean parse(CharSource source, TokenList tokens)
Parses the given character source and adds the resulting tokens to the given list.- Parameters:
source
- the `CharSource` to parsetokens
- the `TokenList` to which to add the resulting tokens- Returns:
- `true` if the parse was successful, `false` otherwise
-
-