class JavaUnitScanner extends JavaScanner
- Alphabetic
- By Inheritance
- JavaUnitScanner
- JavaScanner
- DocScanner
- ScannerCommon
- CommonTokenData
- Cloneable
- Cloneable
- JavaTokenData
- AbstractJavaScanner
- AbstractJavaTokenData
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JavaUnitScanner(unit: Global.CompilationUnit)
Type Members
-
type
ScanPosition = Int
- Definition Classes
- JavaTokenData → AbstractJavaTokenData
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to any2stringadd[JavaUnitScanner] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (JavaUnitScanner, B)
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to ArrowAssoc[JavaUnitScanner] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
NoPos: Int
- Definition Classes
- JavaTokenData → AbstractJavaTokenData
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
base: Int
the base of a number
the base of a number
- Definition Classes
- JavaTokenData
-
def
beginDocComment(prefix: String): Unit
- Attributes
- protected
- Definition Classes
- DocScanner
-
val
cbuf: collection.mutable.StringBuilder
character buffer for literals
character buffer for literals
- Definition Classes
- JavaScanner
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
copyFrom(td: JavaTokenData): JavaUnitScanner.this.type
- Definition Classes
- JavaTokenData
-
def
currentPos: Global.Position
- Definition Classes
- JavaScanner → AbstractJavaScanner
-
def
deprecationWarning(pos: Int, msg: String, since: String): Unit
- Definition Classes
- JavaUnitScanner → ScannerCommon
-
def
discardDocBuffer(): Unit
To prevent doc comments attached to expressions from leaking out of scope onto the next documentable entity, they are discarded upon passing a right brace, bracket, or parenthesis.
To prevent doc comments attached to expressions from leaking out of scope onto the next documentable entity, they are discarded upon passing a right brace, bracket, or parenthesis.
- Definition Classes
- DocScanner
-
def
ensuring(cond: (JavaUnitScanner) ⇒ Boolean, msg: ⇒ Any): JavaUnitScanner
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to Ensuring[JavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (JavaUnitScanner) ⇒ Boolean): JavaUnitScanner
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to Ensuring[JavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): JavaUnitScanner
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to Ensuring[JavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): JavaUnitScanner
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to Ensuring[JavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(pos: Int, msg: String): Unit
- Definition Classes
- JavaUnitScanner → ScannerCommon
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
finishDocComment(): Unit
- Attributes
- protected
- Definition Classes
- DocScanner
-
def
floatVal(negated: Boolean): Double
convert name, base to double value
convert name, base to double value
- Definition Classes
- JavaScanner → AbstractJavaScanner
-
def
floatVal: Double
- Definition Classes
- JavaScanner → AbstractJavaScanner
-
def
flushDoc(): Global.DocComment
- Definition Classes
- DocScanner
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to StringFormat[JavaUnitScanner] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
implicit
def
g2p(pos: Int): Global.Position
- Definition Classes
- JavaUnitScanner → AbstractJavaScanner
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFraction(): Unit
read fractional part and exponent of floating point number if one is present.
read fractional part and exponent of floating point number if one is present.
- Attributes
- protected
- Definition Classes
- JavaScanner
-
def
getNumber(): Unit
read a number into name and set base
read a number into name and set base
- Attributes
- protected
- Definition Classes
- JavaScanner
-
def
getlitch(): AnyVal
read next character in character or string literal:
read next character in character or string literal:
- Attributes
- protected
- Definition Classes
- JavaScanner
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
var
in: JavaCharArrayReader
- Definition Classes
- JavaScanner
-
def
incompleteInputError(pos: Int, msg: String): Unit
- Definition Classes
- JavaUnitScanner → ScannerCommon
-
def
incompleteInputError(msg: String): Unit
signal an error where the input ended in the middle of a token
signal an error where the input ended in the middle of a token
- Definition Classes
- JavaScanner
-
def
init(): Unit
INIT: read lookahead character and token.
INIT: read lookahead character and token.
- Definition Classes
- JavaScanner
-
def
intVal(negated: Boolean): Long
convert name to long value
convert name to long value
- Definition Classes
- JavaScanner → AbstractJavaScanner
-
def
intVal: Long
- Definition Classes
- JavaScanner → AbstractJavaScanner
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lastPos: Int
the first character position after the previous token
the first character position after the previous token
- Definition Classes
- JavaTokenData
-
def
lookaheadToken: Int
- Definition Classes
- JavaScanner
-
val
name: Global.TermName
the name of an identifier or token
the name of an identifier or token
- Definition Classes
- JavaTokenData → AbstractJavaTokenData
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
next: JavaTokenData
we need one token lookahead
we need one token lookahead
- Definition Classes
- JavaScanner → AbstractJavaScanner
-
def
nextToken(): Unit
Consume and discard the next token.
Consume and discard the next token.
- Definition Classes
- JavaScanner → ScannerCommon → AbstractJavaScanner
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
pos: Int
the token's position
the token's position
- Definition Classes
- JavaTokenData → AbstractJavaTokenData
-
val
prev: JavaTokenData
- Definition Classes
- JavaScanner
-
def
processCommentChar(): Unit
- Attributes
- protected
- Definition Classes
- DocScanner
-
def
putChar(c: Char): Unit
append Unicode character to "lit" buffer
append Unicode character to "lit" buffer
- Attributes
- protected
- Definition Classes
- JavaScanner
-
final
def
putCommentChar(): Unit
- Attributes
- protected
- Definition Classes
- JavaScanner
-
def
registerDocComment(raw: String, pos: Global.Position): Unit
- Definition Classes
- DocScanner
-
final
def
skipBlockComment(isDoc: Boolean): Unit
- Attributes
- protected
- Definition Classes
- JavaScanner
- Annotations
- @tailrec()
-
final
def
skipComment(): Boolean
- Attributes
- protected
- Definition Classes
- JavaScanner
-
final
def
skipLineComment(): Unit
- Attributes
- protected
- Definition Classes
- JavaScanner
- Annotations
- @tailrec()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
syntaxError(msg: String): Unit
generate an error at the current token position
generate an error at the current token position
- Definition Classes
- JavaScanner
-
def
syntaxError(pos: Int, msg: String): Unit
generate an error at the given position
generate an error at the given position
- Definition Classes
- JavaScanner
-
def
toString(): String
- Definition Classes
- JavaScanner → AnyRef → Any
-
val
token: Int
the next token
the next token
- Definition Classes
- JavaTokenData → AbstractJavaTokenData
-
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()
-
def
→[B](y: B): (JavaUnitScanner, B)
- Implicit
- This member is added by an implicit conversion from JavaUnitScanner to ArrowAssoc[JavaUnitScanner] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler and reflection APIs.