InvalidSyntax

halotukozak.regex.RegexParseError.InvalidSyntax
final case class InvalidSyntax(pattern: String, position: Int, message: String) extends RegexParseError

Pattern is syntactically malformed (unterminated group, dangling backslash, etc.).

Attributes

Source
RegexParser.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
override def toString: String

Overridden here (rather than left to each case class) so it's picked up by every case class's synthesized toString slot instead of the default field dump they'd otherwise generate (InvalidSyntax((abc,3,expected \)` at position 3)`) — callers that just interpolate the error value directly get a readable message "for free".

Overridden here (rather than left to each case class) so it's picked up by every case class's synthesized toString slot instead of the default field dump they'd otherwise generate (InvalidSyntax((abc,3,expected \)` at position 3)`) — callers that just interpolate the error value directly get a readable message "for free".

Attributes

Definition Classes
Inherited from:
RegexParseError
Source
RegexParser.scala