class ScaladocJavaUnitScanner extends JavaUnitScanner with ScaladocScanner
- Alphabetic
- By Inheritance
- ScaladocJavaUnitScanner
- ScaladocScanner
- JavaUnitScanner
- JavaScanner
- DocScanner
- ScannerCommon
- CommonTokenData
- Cloneable
- JavaTokenData
- AbstractJavaScanner
- AbstractJavaTokenData
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ScaladocJavaUnitScanner(unit: G.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 ScaladocJavaUnitScanner toany2stringadd[ScaladocJavaUnitScanner] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ScaladocJavaUnitScanner, B)
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toArrowAssoc[ScaladocJavaUnitScanner] 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
- ScaladocJavaUnitScanner → ScaladocScanner → DocScanner
- val cbuf: collection.mutable.StringBuilder
character buffer for literals
character buffer for literals
- Definition Classes
- JavaScanner
- def ch: Char
- Attributes
- protected
- Definition Classes
- ScaladocJavaUnitScanner → ScaladocScanner
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copyFrom(td: ScaladocSyntaxAnalyzer.JavaTokenData): ScaladocJavaUnitScanner.this.type
- Definition Classes
- JavaTokenData
- def currentPos: G.Position
- Definition Classes
- JavaScanner → AbstractJavaScanner
- def deprecationWarning(pos: Int, msg: String, since: String, actions: List[CodeAction]): 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 docPosition: Position
- Attributes
- protected
- Definition Classes
- ScaladocJavaUnitScanner → ScaladocScanner
- def ensuring(cond: (ScaladocJavaUnitScanner) => Boolean, msg: => Any): ScaladocJavaUnitScanner
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toEnsuring[ScaladocJavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ScaladocJavaUnitScanner) => Boolean): ScaladocJavaUnitScanner
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toEnsuring[ScaladocJavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ScaladocJavaUnitScanner
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toEnsuring[ScaladocJavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ScaladocJavaUnitScanner
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toEnsuring[ScaladocJavaUnitScanner] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): 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
- ScaladocScanner → 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(): G.DocComment
- Definition Classes
- DocScanner
- implicit def g2p(pos: Int): G.Position
- Definition Classes
- JavaUnitScanner → AbstractJavaScanner
- final def getClass(): Class[_ <: AnyRef]
- 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(scanOnly: Boolean = false, inTextBlock: Boolean = false): Unit
read next character in character or string literal:
read next character in character or string literal:
- scanOnly
skip emitting errors or adding to the literal buffer
- inTextBlock
is this for a text block?
- 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: G.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: ScaladocSyntaxAnalyzer.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: ScaladocSyntaxAnalyzer.JavaTokenData
- Definition Classes
- JavaScanner
- def processCommentChar(): Unit
- Attributes
- protected
- Definition Classes
- ScaladocScanner → 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: G.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()
- def skipTrailingComma(right: ScaladocSyntaxAnalyzer.Token): Boolean
- Definition Classes
- ScannerCommon
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warning(pos: Int, msg: String, category: WarningCategory): Unit
- Definition Classes
- JavaUnitScanner → ScannerCommon
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toStringFormat[ScaladocJavaUnitScanner] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ScaladocJavaUnitScanner, B)
- Implicit
- This member is added by an implicit conversion from ScaladocJavaUnitScanner toArrowAssoc[ScaladocJavaUnitScanner] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.