object TokenList
- Alphabetic
- By Inheritance
- TokenList
- 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(s: String, em: EscapeManager, first: SourcePosition = SourcePosition(0, 0, 0)): TokenList
the Tokenizer
the Tokenizer
tokens are sequences of letters or individual other Unicode characters
whitespace separates Tokens and is never part of a Token
connectors connect the preceding and the succeeding Tokens into a single Token; the connector is part of the Token
The SourcePositions in the Tokens are only correct if all line endings contain a '\n'. (The '\n' counts when counting the offset.)
- s
string to tokenize
- em
the escape manager containing lexing rules
- first
the position of the first character (defaults to 0)
- returns
the resulting TokenList
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canFollow(before: Char, after: Char): Boolean
- returns
true if there is no word break between before and after
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isConnector(c: Char): Boolean
- returns
true if c is considered a connector, i.e., a character that never breaks a word
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLetter(c: Char): Boolean
- returns
true if c is considered to be a letter
- def isLetterOrNumber(c: Char): Boolean
-
def
isNumber(c: Char): Boolean
- returns
true if c is considered to be a number
-
def
isWhitespace(c: Char): Boolean
- returns
true if c is considered to be whitespace
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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( ... ) @native()