JsonPathParser

jsonpath4s.JsonPathParser
See theJsonPathParser companion object
class JsonPathParser(val input: ParserInput) extends Parser

Attributes

Companion
object
Source
JsonPathParser.scala
Graph
Supertypes
class Parser
class RuleDSL
trait RuleDSLActions
trait RuleDSLCombinators
trait RuleDSLBasics
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

sealed trait ActionOperator[I <: HList, O <: HList, Ops]

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait CharRangeSupport

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait NTimes

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
Supertypes
class Object
trait Matchable
class Any
class TracingBubbleException(var _trace: RuleTrace) extends RuntimeException, NoStackTrace

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
Supertypes
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
trait WithSeparatedBy[I <: HList, O <: HList]

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def jsonPath: Rule1[JsonPath]

Attributes

Source
JsonPathParser.scala

Inherited methods

def &(r: Rule[_, _]): Rule0

Runs its inner rule but resets the parser (cursor and value stack) afterwards, succeeds only if its inner rule succeeded.

Runs its inner rule but resets the parser (cursor and value stack) afterwards, succeeds only if its inner rule succeeded.

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
def ANY: Rule0

Matches any character except EOI.

Matches any character except EOI.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def EOI: Char

Matches the EOI (end-of-input) character.

Matches the EOI (end-of-input) character.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def MATCH: Rule0

Matches no character (i.e. doesn't cause the parser to make any progress) but succeeds always (as a rule).

Matches no character (i.e. doesn't cause the parser to make any progress) but succeeds always (as a rule).

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def MISMATCH[I <: HList, O <: HList]: Rule[I, O]

A generic Rule that always fails.

A generic Rule that always fails.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def MISMATCH0: Rule0

A Rule0 that always fails.

A Rule0 that always fails.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__bubbleUp`(prefix: List[NonTerminal], terminal: Terminal): Nothing

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__bubbleUp`(terminal: Terminal): Nothing

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__enterAtomic`(start: Int): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__enterNotPredicate`(): AnyRef

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__exitAtomic`(saved: Boolean): Unit

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__exitNotPredicate`(saved: AnyRef): Unit

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__exitQuiet`(saved: Int): Unit

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__hardFail`(expected: String): Nothing

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
final def `__matchAnyOf`(string: String, ix: Int): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
final def `__matchIgnoreCaseString`(string: String, ix: Int): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__matchMapWrapped`(m: Map[String, Any], ignoreCase: Boolean): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__matchMap`(m: Map[String, Any], ignoreCase: Boolean): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
final def `__matchNoneOf`(string: String, ix: Int): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
final def `__matchStringWrapped`(string: String, ix: Int): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
final def `__matchString`(string: String, ix: Int): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__push`(value: Any): Boolean

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__restoreState`(mark: Mark): Unit

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__run`[L <: HList](rule: => RuleN[L])(implicit scheme: DeliveryScheme[L]): scheme.Result

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__saveState`: Mark

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def `__subParserInput`: `__SubParserInput`

Attributes

Inherited from:
Parser
Source
Parser.scala

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def anyOf(chars: String): Rule0

Matches any single one of the given characters.

Matches any single one of the given characters.

Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def atomic[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]

Marks a rule as "undividable" from an error reporting perspective. The parser will never report errors inside of the marked rule. Rather, if the rule mismatches, the error will be reported at the very beginning of the attempted rule match.

Marks a rule as "undividable" from an error reporting perspective. The parser will never report errors inside of the marked rule. Rather, if the rule mismatches, the error will be reported at the very beginning of the attempted rule match.

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
def capture[I <: HList, O <: HList](r: Rule[I, O])(implicit p: Prepend[O, String :: HNil]): Rule[I, p.Out]

Pushes the input text matched by its inner rule onto the value stack after its inner rule has been run successfully (and only then).

Pushes the input text matched by its inner rule onto the value stack after its inner rule has been run successfully (and only then).

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala
def charAt(offset: Int): Char

Returns the character at the input index with the given delta to the cursor. Note: for performance optimization this method does not do a range check, i.e. depending on the ParserInput implementation you might get an exception when calling this method before any character was matched by the parser.

Returns the character at the input index with the given delta to the cursor. Note: for performance optimization this method does not do a range check, i.e. depending on the ParserInput implementation you might get an exception when calling this method before any character was matched by the parser.

Attributes

Inherited from:
Parser
Source
Parser.scala
def charAtRC(offset: Int): Char

Same as charAt but range-checked. Returns the input character at the index with the given offset from the cursor. If this index is out of range the method returns EOI.

Same as charAt but range-checked. Returns the input character at the index with the given offset from the cursor. If this index is out of range the method returns EOI.

Attributes

Inherited from:
Parser
Source
Parser.scala
def copyStateFrom(other: Parser, offset: Int): Unit

Attributes

Inherited from:
Parser
Source
Parser.scala
def cursor: Int

The index of the next (yet unmatched) input character. Might be equal to input.length!

The index of the next (yet unmatched) input character. Might be equal to input.length!

Attributes

Inherited from:
Parser
Source
Parser.scala

The next (yet unmatched) input character, i.e. the one at the cursor index. Identical to if (cursor < input.length) input.charAt(cursor) else EOI but more efficient.

The next (yet unmatched) input character, i.e. the one at the cursor index. Identical to if (cursor < input.length) input.charAt(cursor) else EOI but more efficient.

Attributes

Inherited from:
Parser
Source
Parser.scala
def drop[T](implicit h: HListable[T]): PopRule[h.Out]

Drops one or more values from the top of the value stack. E.g. drop[Int] will drop the top Int value and drop[Int :: String :: HNil] will drop the top two values, which must be an Int underneath a String (the string being the top stack element).

Drops one or more values from the top of the value stack. E.g. drop[Int] will drop the top Int value and drop[Int :: String :: HNil] will drop the top two values, which must be an Int underneath a String (the string being the top stack element).

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala

The maximum number of error traces that parser will collect in case of a parse error. Override with a custom value if required. Set to zero to completely disable error trace collection (which will cause formatError to no be able to render any "expected" string!).

The maximum number of error traces that parser will collect in case of a parse error. Override with a custom value if required. Set to zero to completely disable error trace collection (which will cause formatError to no be able to render any "expected" string!).

Attributes

Inherited from:
Parser
Source
Parser.scala
def fail(expected: String): Rule0

A rule that always fails and causes the parser to immediately terminate the parsing run. The resulting parse error only has a single trace with a single frame which holds the given error message.

A rule that always fails and causes the parser to immediately terminate the parsing run. The resulting parse error only has a single trace with a single frame which holds the given error message.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def failX[I <: HList, O <: HList](expected: String): Rule[I, O]

Fully generic variant of fail.

Fully generic variant of fail.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def formatError(error: ParseError, formatter: ErrorFormatter): String

Formats the given ParseError into a String using the given formatter instance.

Formats the given ParseError into a String using the given formatter instance.

Attributes

Inherited from:
Parser
Source
Parser.scala
def ignoreCase(s: String): Rule0

Matches the given string of characters case insensitively. Note: the given string must be specified in all lower-case! This requirement is currently NOT enforced!

Matches the given string of characters case insensitively. Note: the given string must be specified in all lower-case! This requirement is currently NOT enforced!

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def ignoreCase(c: Char): Rule0

Matches the given single character case insensitively. Note: the given character must be specified in lower-case! This requirement is currently NOT enforced!

Matches the given single character case insensitively. Note: the given character must be specified in lower-case! This requirement is currently NOT enforced!

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def lastChar: Char

Returns the last character that was matched, i.e. the one at index cursor - 1 Note: for performance optimization this method does not do a range check, i.e. depending on the ParserInput implementation you might get an exception when calling this method before any character was matched by the parser.

Returns the last character that was matched, i.e. the one at index cursor - 1 Note: for performance optimization this method does not do a range check, i.e. depending on the ParserInput implementation you might get an exception when calling this method before any character was matched by the parser.

Attributes

Inherited from:
Parser
Source
Parser.scala
inline def namedRule[I <: HList, O <: HList](name: String)(inline r: Rule[I, O]): Rule[I, O]

Converts a compile-time only rule definition into the corresponding rule method implementation with an explicitly given name.

Converts a compile-time only rule definition into the corresponding rule method implementation with an explicitly given name.

Attributes

Inherited from:
ParserMacroMethods (hidden)
Source
ParserMacros.scala
def noneOf(chars: String): Rule0

Matches any single character except the ones in the given string and except EOI.

Matches any single character except the ones in the given string and except EOI.

Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def oneOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[l.In, l.StrictOut] & Repeated

Runs its inner rule until it fails, succeeds if its inner rule succeeded at least once. Resulting rule type is Rule0 if r == Rule0 Rule1[Seq[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

Runs its inner rule until it fails, succeeds if its inner rule succeeded at least once. Resulting rule type is Rule0 if r == Rule0 Rule1[Seq[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
def optional[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Option, I, O]): Rule[l.In, l.OptionalOut]

Runs its inner rule and succeeds even if the inner rule doesn't. Resulting rule type is Rule0 if r == Rule0 Rule1[Option[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

Runs its inner rule and succeeds even if the inner rule doesn't. Resulting rule type is Rule0 if r == Rule0 Rule1[Option[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
def push[T](value: T)(implicit h: HListable[T]): RuleN[h.Out]

Pushes the given value onto the value stack.

Pushes the given value onto the value stack.

  • if T is Unit nothing is pushed (i.e. push with a block/expression evaluating to Unit is identical to run)
  • if T <: HList all values of the HList is pushed as individual elements
  • otherwise a single value of type T is pushed.

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala
def quiet[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]

Marks a rule as "quiet" from an error reporting perspective. Quiet rules only show up in error rule traces if no "unquiet" rules match up to the error location. This marker frequently used for low-level syntax rules (like whitespace or comments) that might be matched essentially everywhere and are therefore not helpful when appearing in the "expected" set of an error report.

Marks a rule as "quiet" from an error reporting perspective. Quiet rules only show up in error rule traces if no "unquiet" rules match up to the error location. This marker frequently used for low-level syntax rules (like whitespace or comments) that might be matched essentially everywhere and are therefore not helpful when appearing in the "expected" set of an error report.

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
inline def rule[I <: HList, O <: HList](inline r: Rule[I, O]): Rule[I, O]

Converts a compile-time only rule definition into the corresponding rule method implementation.

Converts a compile-time only rule definition into the corresponding rule method implementation.

Attributes

Inherited from:
ParserMacroMethods (hidden)
Source
ParserMacros.scala
def run[T](arg: T)(implicit rr: RunResult[T]): rr.Out

Runs the given block / expression / action function. A run rule can have several shapes, depending on its argument type. If the arg evaluates to

Runs the given block / expression / action function. A run rule can have several shapes, depending on its argument type. If the arg evaluates to

  • a rule (i.e. has type R <: Rule[_, _]) the result type of run is this rule's type (i.e. R) and the produced rule is immediately executed.

  • a function with 1 to 5 parameters these parameters are mapped against the top of the value stack, popped and the function executed. Thereby the function behaves just like an action function for the ~> operator, i.e. if it produces a Unit value this result is simply dropped. HList results are pushed onto the value stack (all their elements individually), rule results are immediately executed and other result values are pushed onto the value stack as a single element.

  • a function with one HList parameter the behavior is similar to the previous case with the difference that the elements of this parameter HList are mapped against the value stack top. This allows for consumption of an arbitrary number of value stack elements. (Note: This feature of run is not yet currently implemented.)

  • any other value the result type of run is an always succeeding Rule0.

NOTE: Even though the block is not a call-by-name parameter it will be executed for every rule application anew! (Since the expression is directly transplanted into the rule method by the rule macro.

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala
def runSubParser[I <: HList, O <: HList](f: ParserInput => Rule[I, O]): Rule[I, O]

Allows creation of a sub parser and running of one of its rules as part of the current parsing process. The subparser will start parsing at the current input position and the outer parser (this parser) will continue where the sub-parser stopped.

Allows creation of a sub parser and running of one of its rules as part of the current parsing process. The subparser will start parsing at the current input position and the outer parser (this parser) will continue where the sub-parser stopped.

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
def test(condition: Boolean): Rule0

Implements a semantic predicate. If the argument expression evaluates to true the created rule matches otherwise it doesn't.

Implements a semantic predicate. If the argument expression evaluates to true the created rule matches otherwise it doesn't.

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala
def valueMap[T](m: Map[String, T], ignoreCase: Boolean)(implicit h: HListable[T]): RuleN[h.Out]

Matches any of the given maps keys and pushes the respective value upon a successful match.

Matches any of the given maps keys and pushes the respective value upon a successful match.

Value parameters

ignoreCase

a flag that tells if map keys case should be ignored

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
def valueStack: ValueStack

Allows "raw" (i.e. untyped) access to the ValueStack. In most cases you shouldn't need to access the value stack directly from your code. Use only if you know what you are doing!

Allows "raw" (i.e. untyped) access to the ValueStack. In most cases you shouldn't need to access the value stack directly from your code. Use only if you know what you are doing!

Attributes

Inherited from:
Parser
Source
Parser.scala
def zeroOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[l.In, l.OptionalOut] & Repeated

Runs its inner rule until it fails, always succeeds. Resulting rule type is Rule0 if r == Rule0 Rule1[Seq[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

Runs its inner rule until it fails, always succeeds. Resulting rule type is Rule0 if r == Rule0 Rule1[Seq[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala

Concrete fields

val input: ParserInput

The input this parser instance is running against.

The input this parser instance is running against.

Attributes

Source
JsonPathParser.scala

Implicits

Inherited implicits

implicit def ch(c: Char): Rule0

Matches the given single character.

Matches the given single character.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
implicit def int2NTimes(i: Int): NTimes

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
implicit def predicate(p: CharPredicate): Rule0

Matches any (single) character matched by the given CharPredicate.

Matches any (single) character matched by the given CharPredicate.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
implicit def range2NTimes(range: Range): NTimes

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
implicit def rule2ActionOperator[I <: HList, O <: HList](r: Rule[I, O])(implicit ops: ActionOps[I, O]): ActionOperator[I, O, ops.Out]

Attributes

Inherited from:
RuleDSLActions
Source
RuleDSLActions.scala
implicit def rule2WithSeparatedBy[I <: HList, O <: HList](r: Rule[I, O] & Repeated): WithSeparatedBy[I, O]

Attributes

Inherited from:
RuleDSLCombinators
Source
RuleDSLCombinators.scala
implicit def str(s: String): Rule0

Matches the given string of characters.

Matches the given string of characters.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala
implicit def valueMap[T](m: Map[String, T])(implicit h: HListable[T]): RuleN[h.Out]

Matches any of the given maps keys and pushes the respective value upon a successful match.

Matches any of the given maps keys and pushes the respective value upon a successful match.

Attributes

Inherited from:
RuleDSLBasics
Source
RuleDSLBasics.scala