UnsupportedTokenConstruct

halotukozak.regex.UnsupportedTokenConstruct
final case class UnsupportedTokenConstruct(patternIndex: Int, construct: String)

Pattern patternIndex of a TokenMatcher uses construct, which depends on the input after the token and so can't be matched by it: a lookahead other than the $/\Z/\z anchors. Returned by TokenMatcher.fromRegexesChecked; the other builders throw it as an IllegalArgumentException. Whole-string matching (Subset, CaptureMatcher) supports every lookahead.

Attributes

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

Members list

Value members

Concrete methods

def message: String

Attributes

Source
TokenMatcher.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
TokenMatcher.scala

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