End
Attributes
- Source
- Parser.scala
- Graph
-
- Supertypes
- Self type
-
End.type
Members list
Type members
Inherited types
The names of the product elements
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
The mirrored *-type
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Inherited and Abstract types
The name of the type
Value members
Inherited methods
Symbolic alias for repeat0
Symbolic alias for repeat
Symbolic alias for orElseEither
Symbolic alias for orElse
Symbolic alias for zipLeft
Symbolic alias for optional
Symbolic alias for named
Ignores the parser's successful result and result in 'result' instead
Ignores the parser's successful result and result in 'result' instead
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Repeats this parser at least 'min' times.
Repeats this parser at least 'min' times.
The result is all the parsed elements until the first failure. The failure that stops the repetition gets swallowed and in case auto-backtracking is on, the parser backtracks to the end of the last successful item.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Enables auto-backtracking for this parser
Parser that resets the parsing position in case it fails.
Parser that resets the parsing position in case it fails.
By default backtracking points are automatically inserted. This behavior can be changed with the autoBacktracking, manualBacktracking and setAutoBacktracking combinators.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Concatenates the parsers 'left', then this, then 'right'.
Concatenates the parsers 'left', then this, then 'right'.
All three must succeed. The result is this parser's result.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Repeats this parser exactly N times
Checks the result of this parser with the given function. If the 'condition' is false, fails with the given failure 'failure', otherwise results in the this parser's result.
Checks the result of this parser with the given function. If the 'condition' is false, fails with the given failure 'failure', otherwise results in the this parser's result.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Determines the continuation of the parser by the result of this parser, expressed by the function 'that'
Determines the continuation of the parser by the result of this parser, expressed by the function 'that'
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Flattens a result of parsed strings to a single string
Flattens a result of parsed strings to a single string
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Create a new instance of type T with elements taken from product p.
Create a new instance of type T with elements taken from product p.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Turns off auto-backtracking for this parser
Maps the parser's successful result with the given function 'to'
Maps the parser's successful result with the given function 'to'
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Maps the error with the given function 'f'
Associates a name with this parser. The chain of named parsers are reported in case of failure to help debugging parser issues.
Associates a name with this parser. The chain of named parsers are reported in case of failure to help debugging parser issues.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Parser that fails with the given 'failure' if this parser succeeds
Parser that fails with the given 'failure' if this parser succeeds
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Make this parser optional.
Make this parser optional.
Failure of this parser will be ignored. In case auto-backtracking is enabled, backtracking is performed on it.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Assigns 'that' parser as a fallback of this. First this parser gets evaluated. In case it succeeds, the result is this parser's result. In case it fails, the result is 'that' parser's result.
Assigns 'that' parser as a fallback of this. First this parser gets evaluated. In case it succeeds, the result is this parser's result. In case it fails, the result is 'that' parser's result.
If auto-backtracking is on, this parser will backtrack before trying 'that' parser.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Assigns 'that' parser as a fallback of this. First this parser gets evaluated. In case it succeeds, the result is this parser's result wrapped in 'Left'. In case it fails, the result is 'that' parser's result, wrapped in 'Right'.
Assigns 'that' parser as a fallback of this. First this parser gets evaluated. In case it succeeds, the result is this parser's result wrapped in 'Left'. In case it fails, the result is 'that' parser's result, wrapped in 'Right'.
Compared to orElse, this version allows the two parsers to have different result types.
If auto-backtracking is on, this parser will backtrack before trying 'that' parser.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Assigns 'that' parser as a fallback of this. First this parser gets evaluated. In case it succeeds, the result is this parser's result. In case it fails, the result is 'that' parser's result.
Assigns 'that' parser as a fallback of this. First this parser gets evaluated. In case it succeeds, the result is this parser's result. In case it fails, the result is 'that' parser's result.
If auto-backtracking is on, this parser will backtrack before trying 'that' parser.
Attributes
- Inherited from:
- VersionSpecificParser
- Source
- VersionSpecificParser.scala
Run this parser on the given 'input' chunk of characters using a specific parser implementation
Run this parser on the given 'input' chunk of characters using a specific parser implementation
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Run this parser on the given 'input' chunk of characters
Run this parser on the given 'input' chunk of characters
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Run this parser on the given 'input' chunk
Run this parser on the given 'input' string using a specific parser implementation
Run this parser on the given 'input' string using a specific parser implementation
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Run this parser on the given 'input' string
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Repeats this parser at least once.
Repeats this parser at least once.
The result is all the parsed elements until the first failure. The failure that stops the repetition gets swallowed and in case auto-backtracking is on, the parser backtracks to the end of the last successful item.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Repeats this parser zero or more times.
Repeats this parser zero or more times.
The result is all the parsed elements until the first failure. The failure that stops the repetition gets swallowed and in case auto-backtracking is on, the parser backtracks to the end of the last successful item.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Repeats this parser until the given stopCondition parser succeeds.
Repeats this parser until the given stopCondition parser succeeds.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Repeats this parser at least once and requires that between each element, the 'sep' parser succeeds
Repeats this parser at least once and requires that between each element, the 'sep' parser succeeds
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Repeats this parser zero or more times and requires that between each element, the 'sep' parser succeeds
Repeats this parser zero or more times and requires that between each element, the 'sep' parser succeeds
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Enables or disables auto-backtracking for this parser
Enables or disables auto-backtracking for this parser
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Ignores this parser's result and instead capture the parsed string fragment
Ignores this parser's result and instead capture the parsed string fragment
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Strips all the name information from this parser to improve performance but reduces the failure message's verbosity.
Strips all the name information from this parser to improve performance but reduces the failure message's verbosity.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Surrounds this parser with the 'other' parser. The result is this parser's result.
Surrounds this parser with the 'other' parser. The result is this parser's result.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Maps the parser's successful result with the given function 'to' that either fails or produces a new result value.
Maps the parser's successful result with the given function 'to' that either fails or produces a new result value.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Maps the parser's successful result with the given function 'to' that either produces a new result value or the failure is indicated in the error channel by the value None.
Maps the parser's successful result with the given function 'to' that either produces a new result value or the failure is indicated in the error channel by the value None.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Parser that does not consume any input and produces the unit value
Parser that does not consume any input and produces the unit value
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Concatenates this parser with 'that' parser. In case both parser succeeds, the result is a pair of the results.
Concatenates this parser with 'that' parser. In case both parser succeeds, the result is a pair of the results.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Concatenates this parser with 'that' parser. In case both parser succeeds, the result is the result of this parser. Otherwise the parser fails.
Concatenates this parser with 'that' parser. In case both parser succeeds, the result is the result of this parser. Otherwise the parser fails.
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Symbolic alias for orElse
Inherited fields
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala
The optimized parser tree used by the parser implementations
The optimized parser tree used by the parser implementations
Attributes
- Inherited from:
- Parser
- Source
- Parser.scala