static Parser.Builder |
Parser.builder() |
Obtain a new Builder for constructing a parser instance.
|
Parser.Builder |
Parser.Builder.language(@NotNull Language language) |
Sets the programming language intended for parsing.
|
Parser.Builder |
Parser.Builder.range() |
Removes all currently specified ranges.
|
Parser.Builder |
Parser.Builder.range(@NotNull Range range) |
Specify an additional range that the parser should include when parsing.
|
Parser.Builder |
Parser.Builder.ranges(@NotNull Range... ranges) |
Specify additional ranges that the parser should include when parsing.
|
Parser.Builder |
Parser.Builder.ranges(@NotNull List<@NotNull Range> ranges) |
Sets the collection of ranges that the parser will include when parsing.
|
Parser.Builder |
Parser.Builder.timeout(long timeout) |
Set the maximum duration in microseconds that parsing should be allowed to take.
|
Parser.Builder |
Parser.Builder.timeout(long timeout,
@NotNull TimeUnit timeUnit) |
Set the maximum duration that parsing should be allowed to take.
|
Parser.Builder |
Parser.Builder.timeout(@NotNull Duration duration) |
Set the maximum duration that parsing should be allowed to take.
|
Parser.Builder |
Parser.toBuilder() |
Obtain a new Builder initialized with the current parser settings.
|