scala.tools.nsc.ast.parser

SyntaxAnalyzer

class SyntaxAnalyzer extends SubComponent with Parsers with MarkupParsers with Scanners with JavaParsers with JavaScanners

An nsc sub-component.

Attributes
abstract
Source
SyntaxAnalyzer.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SyntaxAnalyzer
  2. JavaParsers
  3. JavaScanners
  4. Parsers
  5. ParsersCommon
  6. MarkupParsers
  7. Scanners
  8. ScannersCommon
  9. SubComponent
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SyntaxAnalyzer ()

Type Members

  1. class AbstractJavaScanner extends AbstractJavaTokenData

    .

  2. class AbstractJavaTokenData extends AnyRef

    Attributes
    abstract
  3. trait CommonTokenData extends AnyRef

  4. case class JavaOpInfo (operand: Tree, operator: Name, pos: Int) extends Product with Serializable

  5. class JavaParser extends ParserCommon

    Attributes
    abstract
  6. class JavaScanner extends AbstractJavaScanner with JavaTokenData with Cloneable with ScannerCommon

    A scanner for Java.

  7. trait JavaTokenData extends AbstractJavaTokenData

    A class for representing a token's data.

  8. class JavaUnitParser extends JavaParser

  9. class JavaUnitScanner extends JavaScanner

    .

  10. class MalformedInput extends Exception

  11. class MarkupParser extends MarkupParserCommon

  12. type Offset = Int

    Offset into source character array

    Offset into source character array

    Definition Classes
    Scanners
  13. case class OpInfo (operand: Tree, operator: Name, offset: Offset) extends Product with Serializable

  14. class OutlineParser extends SourceFileParser

  15. class ParensAnalyzer extends UnitScanner

  16. class Parser extends ParserCommon

    Attributes
    abstract
  17. trait ParserCommon extends AnyRef

  18. class ParserPhase extends StdPhase

  19. class Scanner extends CharArrayReader with TokenData with ScannerCommon

    Attributes
    abstract
  20. trait ScannerCommon extends CommonTokenData

  21. class SourceFileParser extends Parser

  22. class SourceFileScanner extends Scanner

    A scanner for a given source file not necessarily attached to a compilation unit.

  23. class StdPhase extends GlobalPhase

    A standard phase template

  24. trait TokenData extends CommonTokenData

  25. class UnitParser extends SourceFileParser

  26. class UnitScanner extends SourceFileScanner

    A scanner over a given compilation unit

Abstract Value Members

  1. val global : Global

    Attributes
    abstract
    Definition Classes
    JavaParsersJavaScannersParsersCommonScannersCommon
  2. val runsAfter : List[String]

    List of phase names, this phase should run after

    List of phase names, this phase should run after

    Attributes
    abstract
    Definition Classes
    SubComponent
  3. val runsRightAfter : Option[String]

    Phase name this phase will attach itself to, not allowing any phase to come between it and the phase name declared

    Phase name this phase will attach itself to, not allowing any phase to come between it and the phase name declared

    Attributes
    abstract
    Definition Classes
    SubComponent

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. object ConfusedAboutBracesControl extends Throwable with ControlThrowable with Product with Serializable

  7. val InBlock : Int(1)

    Attributes
    final
    Definition Classes
    Parsers
  8. val InTemplate : Int(2)

    Attributes
    final
    Definition Classes
    Parsers
  9. object JavaScannerConfiguration extends AnyRef

  10. val Local : Int(0)

    Attributes
    final
    Definition Classes
    Parsers
  11. object MissingEndTagControl extends Throwable with ControlThrowable with Product with Serializable

  12. val NoOffset : Offset

    An undefined offset

    An undefined offset

    Definition Classes
    Scanners
  13. object TruncatedXMLControl extends Throwable with ControlThrowable with Product with Serializable

  14. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  15. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def createKeywordArray (keywords: Seq[(Name, Int)], defaultToken: Int): (Int, Array[Int])

    Definition Classes
    ScannersCommon
  17. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. 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
  22. val internal : Boolean

    Internal flag to tell external from internal phases

    Internal flag to tell external from internal phases

    Definition Classes
    SubComponent
  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def name2token (name: Name): Int

    Convert name to token

    Convert name to token

    Attributes
    final
    Definition Classes
    Scanners
  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def newPhase (prev: Phase): StdPhase

    The phase factory

    The phase factory

    Definition Classes
    SyntaxAnalyzerSubComponent
  27. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. 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
  30. val phaseName : String

    The name of the phase

    The name of the phase

    Definition Classes
    SyntaxAnalyzerSubComponent
  31. 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
  32. 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
  33. val runsBefore : List[String]

    List of phase names, this phase should run before

    List of phase names, this phase should run before

    Definition Classes
    SubComponent
  34. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  35. def toString (): String

    Definition Classes
    AnyRef → Any
  36. val token2name : Map[Int, Name]

    Attributes
    final
    Definition Classes
    Scanners
  37. def token2string (token: Int): String

    Returns the string representation of given token.

    Returns the string representation of given token.

    Definition Classes
    Scanners
  38. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from JavaParsers

Inherited from JavaScanners

Inherited from Parsers

Inherited from ParsersCommon

Inherited from MarkupParsers

Inherited from Scanners

Inherited from ScannersCommon

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any