abstract class ScaladocSyntaxAnalyzer[G <: Global] extends SyntaxAnalyzer
- Source
- ScaladocAnalyzer.scala
- Alphabetic
- By Inheritance
- ScaladocSyntaxAnalyzer
- SyntaxAnalyzer
- JavaParsers
- JavaScanners
- Parsers
- ParsersCommon
- MarkupParsers
- Scanners
- ScannersCommon
- SubComponent
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScaladocSyntaxAnalyzer(global: G)
Type Members
-
abstract
class
StdPhase extends GlobalPhase
A standard phase template
A standard phase template
- Definition Classes
- SubComponent
-
class
MarkupParser extends MarkupParserCommon
- Definition Classes
- MarkupParsers
-
case class
OpInfo(lhs: Global.Tree, operator: Global.TermName, targs: List[Global.Tree], offset: Parsers.Offset) extends Product with Serializable
- Definition Classes
- Parsers
-
class
OutlineParser extends SourceFileParser
- Definition Classes
- Parsers
-
abstract
class
Parser extends ParserCommon
- Definition Classes
- Parsers
-
class
SourceFileParser extends Parser
- Definition Classes
- Parsers
-
class
UnitParser extends SourceFileParser
- Definition Classes
- Parsers
-
abstract
class
ParserCommon extends AnyRef
This is now an abstract class, only to work around the optimizer: methods in traits are never inlined.
This is now an abstract class, only to work around the optimizer: methods in traits are never inlined.
- Definition Classes
- ParsersCommon
-
class
MalformedInput extends Exception
- Definition Classes
- Scanners
-
class
ParensAnalyzer extends UnitScanner
- Definition Classes
- Scanners
-
abstract
class
Scanner extends CharArrayReader with TokenData with ScannerData with ScannerCommon with DocScanner
- Definition Classes
- Scanners
-
trait
ScannerData extends TokenData with CharArrayReaderData
An interface to most of mutable data in Scanner defined in TokenData and CharArrayReader (+ next, prev fields) with copyFrom functionality to backup/restore data (used by quasiquotes' lookingAhead).
An interface to most of mutable data in Scanner defined in TokenData and CharArrayReader (+ next, prev fields) with copyFrom functionality to backup/restore data (used by quasiquotes' lookingAhead).
- Definition Classes
- Scanners
-
class
SourceFileScanner extends Scanner
A scanner for a given source file not necessarily attached to a compilation unit.
A scanner for a given source file not necessarily attached to a compilation unit. Useful for looking inside source files that are not currently compiled to see what's there
- Definition Classes
- Scanners
-
trait
TokenData extends CommonTokenData
- Definition Classes
- Scanners
-
class
UnitScanner extends SourceFileScanner
A scanner over a given compilation unit
A scanner over a given compilation unit
- Definition Classes
- Scanners
-
trait
CommonTokenData extends AnyRef
- Definition Classes
- ScannersCommon
-
trait
DocScanner extends AnyRef
- Definition Classes
- ScannersCommon
-
trait
ScannerCommon extends CommonTokenData
- Definition Classes
- ScannersCommon
-
abstract
class
MemberDefTraverser extends Global.Traverser
- Definition Classes
- SyntaxAnalyzer
-
class
MemberPosReporter extends MemberDefTraverser
- Definition Classes
- SyntaxAnalyzer
-
class
ParserPhase extends StdPhase
- Definition Classes
- SyntaxAnalyzer
-
type
Location = Int
- Definition Classes
- Parsers
-
type
Offset = Int
Offset into source character array
Offset into source character array
- Definition Classes
- ScannersCommon
- class ScaladocJavaUnitParser extends JavaUnitParser
- class ScaladocJavaUnitScanner extends JavaUnitScanner with ScaladocScanner
- trait ScaladocScanner extends DocScanner
- class ScaladocUnitParser extends UnitParser
- class ScaladocUnitScanner extends UnitScanner with ScaladocScanner
-
type
Token = Int
- Definition Classes
- ScannersCommon
-
case class
JavaOpInfo(operand: Global.Tree, operator: Global.Name, pos: Int) extends Product with Serializable
- Definition Classes
- JavaParsers
-
abstract
class
JavaParser extends ParserCommon
- Definition Classes
- JavaParsers
-
class
JavaUnitParser extends JavaParser
- Definition Classes
- JavaParsers
-
abstract
class
AbstractJavaScanner extends AbstractJavaTokenData
...
...
- Definition Classes
- JavaScanners
-
abstract
class
AbstractJavaTokenData extends AnyRef
- Definition Classes
- JavaScanners
-
abstract
class
JavaScanner extends AbstractJavaScanner with JavaTokenData with Cloneable with ScannerCommon with DocScanner
A scanner for Java.
A scanner for Java.
- Definition Classes
- JavaScanners
-
trait
JavaTokenData extends AbstractJavaTokenData
A class for representing a token's data.
A class for representing a token's data.
- Definition Classes
- JavaScanners
-
class
JavaUnitScanner extends JavaScanner
- Definition Classes
- JavaScanners
Abstract Value Members
-
abstract
val
runsAfter: List[String]
Names of phases that must run before this phase.
Names of phases that must run before this phase.
- Definition Classes
- SubComponent
-
abstract
val
runsRightAfter: Option[String]
Name of the phase that this phase must follow immediately.
Name of the phase that this phase must follow immediately.
- Definition Classes
- SubComponent
Concrete Value Members
-
object
ConfusedAboutBracesControl extends Throwable with ControlThrowable with Product with Serializable
- Definition Classes
- MarkupParsers
-
object
MissingEndTagControl extends Throwable with ControlThrowable with Product with Serializable
- Definition Classes
- MarkupParsers
-
object
TruncatedXMLControl extends Throwable with ControlThrowable with Product with Serializable
- Definition Classes
- MarkupParsers
-
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 ScaladocSyntaxAnalyzer[G] to any2stringadd[ScaladocSyntaxAnalyzer[G]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ScaladocSyntaxAnalyzer[G], B)
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to ArrowAssoc[ScaladocSyntaxAnalyzer[G]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
InBlock: Location
- Definition Classes
- Parsers
-
final
val
InTemplate: Location
- Definition Classes
- Parsers
-
final
val
Local: Location
- Definition Classes
- Parsers
-
lazy val
ScalaValueClassNames: collection.Seq[G.TypeName]
- Definition Classes
- Parsers
-
final
def
afterOwnPhase[T](op: ⇒ T): T
- Definition Classes
- SubComponent
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
beforeOwnPhase[T](op: ⇒ T): T
- Definition Classes
- SubComponent
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createKeywordArray(keywords: Seq[(G.Name, Token)], defaultToken: Token): (Token, Array[Token])
- Definition Classes
- ScannersCommon
-
def
enabled: Boolean
Is this component enabled? Default is true.
Is this component enabled? Default is true.
- Definition Classes
- SubComponent
-
def
ensuring(cond: (ScaladocSyntaxAnalyzer[G]) ⇒ Boolean, msg: ⇒ Any): ScaladocSyntaxAnalyzer[G]
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to Ensuring[ScaladocSyntaxAnalyzer[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ScaladocSyntaxAnalyzer[G]) ⇒ Boolean): ScaladocSyntaxAnalyzer[G]
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to Ensuring[ScaladocSyntaxAnalyzer[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ScaladocSyntaxAnalyzer[G]
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to Ensuring[ScaladocSyntaxAnalyzer[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ScaladocSyntaxAnalyzer[G]
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to Ensuring[ScaladocSyntaxAnalyzer[G]] 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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to StringFormat[ScaladocSyntaxAnalyzer[G]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
global: G
The global environment; overridden by instantiation in Global.
The global environment; overridden by instantiation in Global.
- Definition Classes
- ScaladocSyntaxAnalyzer → JavaParsers → JavaScanners → Parsers → ParsersCommon → Scanners → ScannersCommon → SubComponent
-
def
hashCode(): Int
SubComponent are added to a HashSet and two phases are the same if they have the same name
SubComponent are added to a HashSet and two phases are the same if they have the same name
- Definition Classes
- SubComponent → AnyRef → Any
-
val
initial: Boolean
True if this phase runs before all other phases.
True if this phase runs before all other phases. Usually,
parser
.- Definition Classes
- SubComponent
-
val
internal: Boolean
True if this phase is not provided by a plug-in.
True if this phase is not provided by a plug-in.
- Definition Classes
- SubComponent
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
literalUnit: G.Literal
- Definition Classes
- ParsersCommon
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newLiteral(const: Any): G.Literal
- Definition Classes
- ParsersCommon
-
def
newPhase(prev: Phase): StdPhase
The phase factory
The phase factory
- Definition Classes
- SyntaxAnalyzer → SubComponent
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
ownPhase: Phase
The phase corresponding to this subcomponent in the current compiler run
The phase corresponding to this subcomponent in the current compiler run
- Definition Classes
- SubComponent
-
val
phaseName: String
The name of the phase
The name of the phase
- Definition Classes
- SyntaxAnalyzer → SubComponent
-
def
phaseNewFlags: Long
New flags defined by the phase which are not valid before
New flags defined by the phase which are not valid before
- Definition Classes
- SubComponent
-
def
phaseNextFlags: Long
New flags defined by the phase which are not valid until immediately after it
New flags defined by the phase which are not valid until immediately after it
- Definition Classes
- SubComponent
-
val
requires: List[String]
Names of phases required by this component.
Names of phases required by this component. Default is
Nil
.- Definition Classes
- SubComponent
-
val
runsBefore: List[String]
Names of phases that must run after this phase.
Names of phases that must run after this phase. Default is
Nil
.- Definition Classes
- SubComponent
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
terminal: Boolean
True if this phase runs after all other phases.
True if this phase runs after all other phases. Usually,
terminal
.- Definition Classes
- SubComponent
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
val
token2name: Map[Int, G.Name]
- Definition Classes
- Scanners
-
def
token2string(token: Token): String
Returns the string representation of given token.
Returns the string representation of given token.
- Definition Classes
- Scanners
-
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
- @native() @throws( ... )
-
def
→[B](y: B): (ScaladocSyntaxAnalyzer[G], B)
- Implicit
- This member is added by an implicit conversion from ScaladocSyntaxAnalyzer[G] to ArrowAssoc[ScaladocSyntaxAnalyzer[G]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
-
object
JavaScannerConfiguration
- Definition Classes
- JavaScanners
The Scala compiler and reflection APIs.