object RegexCharLexer
- Alphabetic
- By Inheritance
- RegexCharLexer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(singleCharTokenRegex: Regex, singleCharDelimRegex: Regex): Lexer
Create a lexer by defining the regex that matches tokens and the regex that matches delimiter.
Create a lexer by defining the regex that matches tokens and the regex that matches delimiter. Note: singleCharTokenRegex and singleCharDelimRegex must be mutually exclusive. If they match the same characters the results of the lexer are undefined.
- singleCharTokenRegex
a regex that matches a single char of a token
- singleCharDelimRegex
a regex that matches a single char of delimiter
- returns
a lexer based on the supplied token and delimiter regexes
-
def
apply(delimiterChars: Seq[Char]): Lexer
Create a lexer by defining one or more delimiters
Create a lexer by defining one or more delimiters
- delimiterChars
a sequence of delimiter characters
- returns
a lexer that separates token and delimiter as defined by the supplied delimiter chars
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )