Packages

package tasty

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. tasty
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package bridge

Type Members

  1. implicit final class SafeEq[-T] extends AnyVal

    Adds equality operators asserting at compiletime that the RHS is a subtype of the LHS.

  2. abstract class TastyUniverse extends TastyCore with FlagOps with TypeOps with AnnotationOps with ContextOps with SymbolOps with NameOps with TreeOps

    A facade to scala.tools.nsc.symbtab.SymbolTable, providing operations that map from the language of TASTy to the nsc compiler, e.g.

    A facade to scala.tools.nsc.symbtab.SymbolTable, providing operations that map from the language of TASTy to the nsc compiler, e.g. to create trees, resolve types and symbols.

  3. class TreeUnpickler[Tasty <: TastyUniverse] extends AnyRef

    TreeUnpickler is responsible for traversing all trees in the "ASTs" section of a TASTy file, which represent the definitions inside the classfile associated with the root class/module.

    TreeUnpickler is responsible for traversing all trees in the "ASTs" section of a TASTy file, which represent the definitions inside the classfile associated with the root class/module. TreeUnpickler will enter the public api of the TASTy file into the symbolTable of TastyUniverse. "Public API" includes annotations when they are simple trees.

    Where possible, TreeUnpickler should not directly manipulate values created by the symbolTable, but use operations provided by TastyUniverse

Value Members

  1. object TastyModes

    A static type representing a bitset of modes that affect the interpretation of a TASTy file, such as distinguishing between reading the parents of a class, or an annotation tree.

  2. object TastyUnpickler

    The entry point to TASTy unpickling for nsc, initialises a TastyUniverse#Context with the root symbols of a top-level class, then parses the header and names from a TASTy file, before entering symbols from the ASTs section with TreeUnpickler

  3. object TreeUnpickler

Inherited from AnyRef

Inherited from Any

Ungrouped