object ScalaLexer
- Alphabetic
- By Inheritance
- ScalaLexer
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createRawLexer(s: String, forgiveErrors: Boolean = false, scalaVersion: String = ScalaVersions.DEFAULT_VERSION): ScalaLexer
Create a lexer for "raw" tokens.
Create a lexer for "raw" tokens.
- See also
rawTokenise
-
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
-
def
rawTokenise(s: String, forgiveErrors: Boolean = false, scalaVersion: String = ScalaVersions.DEFAULT_VERSION): List[Token]
Convert the given Scala source code into a list of "raw" tokens.
Convert the given Scala source code into a list of "raw" tokens.
This includes whitespace and comment tokens. No NEWLINE or NEWLINES tokens are inferred. The final token will be of type EOF.
- forgiveErrors
-- if true, no exceptions will be thrown when malformed tokens are encountered.
- scalaVersion
-- the version of Scala to assume as the source type (e.g. "2.9.1"). This can affect the interpretation of certain tokens (for example, floating point literals).
- Annotations
- @throws( classOf[ScalaLexerException] )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tokenise(s: String, forgiveErrors: Boolean = false, scalaVersion: String = ScalaVersions.DEFAULT_VERSION): List[Token]
Convert the given Scala source code into a list of tokens.
Convert the given Scala source code into a list of tokens.
NEWLINE or NEWLINES tokens are inferred, and whitespace and comments are absorbed into the token they precede. The final token will be of type EOF.
- forgiveErrors
-- if true, no exceptions will be thrown when malformed tokens are encountered.
- scalaVersion
-- the version of Scala to assume as the source type (e.g. "2.9.1"). This can affect the interpretation of certain tokens (for example, floating point literals).
- Annotations
- @throws( classOf[ScalaLexerException] )
-
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( ... )