dotty.tools.dotc.core.tasty.TreeUnpickler

TreeReader

Related Doc: package TreeUnpickler

class TreeReader extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TreeReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeReader(reader: TastyReader)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createMemberSymbol()(implicit ctx: Context): Symbol

    Create symbol of member definition or parameter node and enter in symAtAddr map

    Create symbol of member definition or parameter node and enter in symAtAddr map

    returns

    the created symbol

  7. def createSymbol()(implicit ctx: Context): Symbol

    Create symbol of definition node and enter in symAtAddr map

    Create symbol of definition node and enter in symAtAddr map

    returns

    the created symbol

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fork: TreeReader

  12. def forkAt(start: Addr): TreeReader

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def indexParams(tag: Int)(implicit ctx: Context): Unit

    Create symbols the longest consecutive sequence of parameters with given tag starting at current address.

  16. def indexStats(end: Addr)(implicit ctx: Context): FlagSet

    Create symbols for the definitions in the statement sequence between current address and end.

    Create symbols for the definitions in the statement sequence between current address and end.

    returns

    the largest subset of {NoInits, PureInterface} that a trait owning the indexed statements can have as flags.

  17. def indexTemplateParams()(implicit ctx: Context): Unit

    Create symbols for all type and value parameters of template starting at current address.

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def nextUnsharedTag: Int

    The next tag, following through SHARED tags

  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def processPackage[T](op: (ast.tpd.RefTree, Addr) ⇒ (Context) ⇒ T)(implicit ctx: Context): T

    Process package with given operation op.

    Process package with given operation op. The operation takes as arguments

    • a RefTree representing the pid of the package,
    • an end address,
    • a context which has the processd package as owner
  24. def readCase()(implicit ctx: Context): ast.tpd.CaseDef

  25. def readCases(end: Addr)(implicit ctx: Context): List[ast.tpd.CaseDef]

  26. def readImport()(implicit ctx: Context): ast.tpd.Tree

  27. def readIndexedDef()(implicit ctx: Context): ast.tpd.Tree

    If definition was already read by a completer, return the previously read tree or else read definition.

  28. def readIndexedParams[T <: ast.tpd.MemberDef](tag: Int)(implicit ctx: Context): List[T]

  29. def readIndexedStat(exprOwner: Symbol)(implicit ctx: Context): ast.tpd.Tree

  30. def readIndexedStats(exprOwner: Symbol, end: Addr)(implicit ctx: Context): List[ast.tpd.Tree]

  31. def readLater[T <: AnyRef](end: Addr, op: (TreeReader) ⇒ (Context) ⇒ T): Lazy[T]

  32. def readModifiers(end: Addr)(implicit ctx: Context): (FlagSet, List[Annotation], Symbol)

    Read modifier list into triplet of flags, annotations and a privateWithin boundary symbol.

  33. def readName(): TermName

  34. def readNameSplitSig()(implicit ctx: Context): Any

  35. def readParamNames(end: Addr): List[Name]

    Read names in an interleaved sequence of (parameter) names and types/bounds

  36. def readParamTypes[T <: Type](end: Addr)(implicit ctx: Context): List[T]

    Read types or bounds in an interleaved sequence of (parameter) names and types/bounds

  37. def readStats(exprOwner: Symbol, end: Addr)(implicit ctx: Context): List[ast.tpd.Tree]

  38. def readSymRef()(implicit ctx: Context): Symbol

    Read referece to definition and return symbol created at that definition

  39. def readTerm()(implicit ctx: Context): ast.tpd.Tree

  40. def readTermRef()(implicit ctx: Context): TermRef

  41. def readTopLevel()(implicit ctx: Context): List[ast.tpd.Tree]

  42. def readTpt()(implicit ctx: Context): Tree[Type] with Serializable

  43. def readType()(implicit ctx: Context): Type

    Read a type

  44. def readTypeRef(): Type

  45. val reader: TastyReader

  46. def scanTree(buf: ListBuffer[OwnerTree], mode: MemberDefMode = AllDefs): Unit

    Record all directly nested definitions and templates in current tree as OwnerTrees in buf

  47. def scanTrees(buf: ListBuffer[OwnerTree], end: Addr, mode: MemberDefMode = AllDefs): Unit

    Record all directly nested definitions and templates between current address and end as OwnerTrees in buf

  48. def setPos[T <: ast.untpd.Tree](addr: Addr, tree: T)(implicit ctx: Context): tree.type

    Set position of tree at given addr.

  49. def skipParams(): Unit

  50. def skipToplevel()(implicit ctx: Context): Unit

  51. def skipTree(): Unit

  52. def skipTree(tag: Int): Unit

  53. def symbolAt(addr: Addr)(implicit ctx: Context): Symbol

    The symbol at given address; createa new one if none exists yet

  54. def symbolAtCurrent()(implicit ctx: Context): Symbol

    The symbol defined by current definition

  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  56. def toString(): String

    Definition Classes
    AnyRef → Any
  57. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped