final case class Not[Err, In](parser: Parser[Err, In, Any], failure: Err) extends Parser[Err, In, Unit] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Not
  2. Serializable
  3. Product
  4. Equals
  5. Parser
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Not(parser: Parser[Err, In, Any], failure: Err)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def *: Parser[Err, In, Chunk[Unit]]

    Symbolic alias for repeat0

    Symbolic alias for repeat0

    Definition Classes
    Parser
  4. final def +: Parser[Err, In, Chunk[Unit]]

    Symbolic alias for repeat

    Symbolic alias for repeat

    Definition Classes
    Parser
  5. final def <+>[Err2 >: Err, In2 <: In, Result2](that: => Parser[Err2, In2, Result2]): Parser[Err2, In2, Either[Unit, Result2]]

    Symbolic alias for orElseEither

    Symbolic alias for orElseEither

    Definition Classes
    Parser
  6. final def <>[Err2 >: Err, In2 <: In, Result2 >: Unit](that: => Parser[Err2, In2, Result2]): Parser[Err2, In2, Result2]

    Symbolic alias for orElse

    Symbolic alias for orElse

    Definition Classes
    Parser
  7. final def <~[Err2 >: Err, In2 <: In, Result2](that: => Parser[Err2, In2, Unit]): Parser[Err2, In2, Unit]

    Symbolic alias for zipLeft

    Symbolic alias for zipLeft

    Definition Classes
    Parser
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def ?: Parser[Err, In, Option[Unit]]

    Symbolic alias for optional

    Symbolic alias for optional

    Definition Classes
    Parser
  10. final def ??(name: String): Parser[Err, In, Unit]

    Symbolic alias for named

    Symbolic alias for named

    Definition Classes
    Parser
  11. final def as[Result2](result: Result2): Parser[Err, In, Result2]

    Ignores the parser's successful result and result in 'result' instead

    Ignores the parser's successful result and result in 'result' instead

    Definition Classes
    Parser
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. final def atLeast(min: Int): Parser[Err, In, Chunk[Unit]]

    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.

    Definition Classes
    Parser
  14. final def autoBacktracking: Parser[Err, In, Unit]

    Enables auto-backtracking for this parser

    Enables auto-backtracking for this parser

    Definition Classes
    Parser
  15. final def backtrack: Parser[Err, In, Unit]

    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.

    Definition Classes
    Parser
  16. final def between[Err2 >: Err, In2 <: In](left: Parser[Err2, In2, Any], right: Parser[Err2, In2, Any]): Parser[Err2, In2, Unit]

    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.

    Definition Classes
    Parser
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. lazy val compiledOpStack: InitialParser
    Definition Classes
    Parser
  19. lazy val defaultImplementation: ParserImplementation
    Definition Classes
    Parser
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. val failure: Err
  22. final def filter[Result2, Err2 >: Err](condition: (Result2) => Boolean, failure: Err2)(implicit ev: <:<[Unit, Result2]): Parser[Err2, In, Result2]

    Checks the result of this parser with the given function.

    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.

    Definition Classes
    Parser
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. final def flatMap[Err2 >: Err, In2 <: In, Result2](that: (Unit) => Parser[Err2, In2, Result2]): Parser[Err2, In2, Result2]

    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'

    Definition Classes
    Parser
  25. final def flatten(implicit ev2: <:<[Unit, Chunk[String]]): Parser[Err, In, String]

    Flattens a result of parsed strings to a single string

    Flattens a result of parsed strings to a single string

    Definition Classes
    Parser
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def manualBacktracking: Parser[Err, In, Unit]

    Turns off auto-backtracking for this parser

    Turns off auto-backtracking for this parser

    Definition Classes
    Parser
  29. final def map[Result2](to: (Unit) => Result2): Parser[Err, In, Result2]

    Maps the parser's successful result with the given function 'to'

    Maps the parser's successful result with the given function 'to'

    Definition Classes
    Parser
  30. final def mapError[Err2](f: (Err) => Err2): Parser[Err2, In, Unit]

    Maps the error with the given function 'f'

    Maps the error with the given function 'f'

    Definition Classes
    Parser
  31. final def named(name: String): Parser[Err, In, Unit]

    Associates a name with this parser.

    Associates a name with this parser. The chain of named parsers are reported in case of failure to help debugging parser issues.

    Definition Classes
    Parser
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. lazy val needsBacktrack: Boolean
    Attributes
    protected
    Definition Classes
    NotParser
  34. final def not[Err2 >: Err](failure: => Err2): Parser[Err2, In, Unit]

    Parser that fails with the given 'failure' if this parser succeeds

    Parser that fails with the given 'failure' if this parser succeeds

    Definition Classes
    Parser
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def optimizeNode(state: OptimizerState): Parser[Err, In, Unit]
    Attributes
    protected
    Definition Classes
    NotParser
  38. lazy val optimized: Parser[Err, In, Unit]

    The optimized parser tree used by the parser implementations

    The optimized parser tree used by the parser implementations

    Definition Classes
    Parser
  39. final def optional: Parser[Err, In, Option[Unit]]

    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.

    Definition Classes
    Parser
  40. final def orElse[Err2 >: Err, In2 <: In, Result2 >: Unit](that: => Parser[Err2, In2, Result2]): Parser[Err2, In2, Result2]

    Assigns 'that' parser as a fallback of this.

    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.

    Definition Classes
    Parser
  41. final def orElseEither[Err2 >: Err, In2 <: In, Result2](that: => Parser[Err2, In2, Result2]): Parser[Err2, In2, Either[Unit, Result2]]

    Assigns 'that' parser as a fallback of this.

    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.

    Definition Classes
    Parser
  42. final def parseChars(input: Chunk[Char], parserImplementation: ParserImplementation)(implicit ev: <:<[Char, In]): Either[ParserError[Err], Unit]

    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

    Definition Classes
    Parser
  43. final def parseChars(input: Chunk[Char])(implicit ev: <:<[Char, In]): Either[ParserError[Err], Unit]

    Run this parser on the given 'input' chunk of characters

    Run this parser on the given 'input' chunk of characters

    Definition Classes
    Parser
  44. def parseRec(state: ParserState): Unit
    Attributes
    protected
    Definition Classes
    NotParser
  45. final def parseString(input: String, parserImplementation: ParserImplementation)(implicit ev: <:<[Char, In]): Either[ParserError[Err], Unit]

    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

    Definition Classes
    Parser
  46. final def parseString(input: String)(implicit ev: <:<[Char, In]): Either[ParserError[Err], Unit]

    Run this parser on the given 'input' string

    Run this parser on the given 'input' string

    Definition Classes
    Parser
  47. val parser: Parser[Err, In, Any]
  48. def productElementNames: Iterator[String]
    Definition Classes
    Product
  49. final def repeat: Parser[Err, In, Chunk[Unit]]

    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.

    Definition Classes
    Parser
  50. final def repeat0: Parser[Err, In, Chunk[Unit]]

    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.

    Definition Classes
    Parser
  51. final def repeatUntil[Err2 >: Err, In2 <: In](stopCondition: Parser[Err2, In2, Any]): Parser[Err2, In2, Chunk[Unit]]

    Repeats this parser until the given stopCondition parser succeeds.

    Repeats this parser until the given stopCondition parser succeeds.

    Definition Classes
    Parser
  52. final def repeatWithSep[Err2 >: Err, In2 <: In](sep: Parser[Err2, In2, Unit]): Parser[Err2, In2, Chunk[Unit]]

    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

    Definition Classes
    Parser
  53. final def repeatWithSep0[Err2 >: Err, In2 <: In](sep: Parser[Err2, In2, Unit]): Parser[Err2, In2, Chunk[Unit]]

    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

    Definition Classes
    Parser
  54. def runOptimizeNode(optimizerState: OptimizerState): Parser[Err, In, Unit]
    Attributes
    protected
    Definition Classes
    Parser
  55. def runStripNode(stripState: OptimizerState): Parser[Err, In, Unit]
    Attributes
    protected
    Definition Classes
    Parser
  56. final def setAutoBacktracking(enabled: Boolean): Parser[Err, In, Unit]

    Enables or disables auto-backtracking for this parser

    Enables or disables auto-backtracking for this parser

    Definition Classes
    Parser
  57. final def string(implicit ev: <:<[Char, In]): Parser[Err, Char, String]

    Ignores this parser's result and instead capture the parsed string fragment

    Ignores this parser's result and instead capture the parsed string fragment

    Definition Classes
    Parser
  58. def strip: Parser[Err, In, Unit]

    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.

    Definition Classes
    Parser
  59. def stripNode(state: OptimizerState): Parser[Err, In, Unit]
    Attributes
    protected
    Definition Classes
    NotParser
  60. final def surroundedBy[Err2 >: Err, In2 <: In](other: Parser[Err2, In2, Any]): Parser[Err2, In2, Unit]

    Surrounds this parser with the 'other' parser.

    Surrounds this parser with the 'other' parser. The result is this parser's result.

    Definition Classes
    Parser
  61. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  62. final def transformEither[Err2, Result2](to: (Unit) => Either[Err2, Result2]): Parser[Err2, In, Result2]

    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.

    Definition Classes
    Parser
  63. final def transformOption[Result2](to: (Unit) => Option[Result2]): Parser[Option[Err], In, Result2]

    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.

    Definition Classes
    Parser
  64. final def unit: Parser[Err, In, Unit]

    Parser that does not consume any input and produces the unit value

    Parser that does not consume any input and produces the unit value

    Definition Classes
    Parser
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  68. final def zip[Err2 >: Err, In2 <: In, Result2, ZippedResult](that: => Parser[Err2, In2, Result2])(implicit zippable: Out[Unit, Result2, ZippedResult]): Parser[Err2, In2, ZippedResult]

    Concatenates this parser with 'that' parser.

    Concatenates this parser with 'that' parser. In case both parser succeeds, the result is a pair of the results.

    Definition Classes
    Parser
  69. final def zipLeft[Err2 >: Err, In2 <: In, Result2](that: => Parser[Err2, In2, Any]): Parser[Err2, In2, Unit]

    Concatenates this parser with 'that' parser.

    Concatenates this parser with 'that' parser. In case both parser succeeds, the result is the result of this parser. Otherwise the parser fails.

    Definition Classes
    Parser
  70. final def |[Err2 >: Err, In2 <: In, Result2 >: Unit](that: => Parser[Err2, In2, Result2]): Parser[Err2, In2, Result2]

    Symbolic alias for orElse

    Symbolic alias for orElse

    Definition Classes
    Parser
  71. final def ~[Err2 >: Err, In2 <: In, Result2, ZippedResult](that: => Parser[Err2, In2, Result2])(implicit zippable: Out[Unit, Result2, ZippedResult]): Parser[Err2, In2, ZippedResult]

    Symbolic alias for zip

    Symbolic alias for zip

    Definition Classes
    Parser

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Parser[Err, In, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped