c

scalan.plugin

SourceModulePipeline

class SourceModulePipeline[+G <: Global] extends ScalanizerPipeline[G]

Linear Supertypes
ScalanizerPipeline[G], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SourceModulePipeline
  2. ScalanizerPipeline
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceModulePipeline(s: Scalanizer[G])

Type Members

  1. case class ForEachUnitStep(name: String)(action: (UnitStepContext) ⇒ Unit) extends PipelineStep with Product with Serializable
    Definition Classes
    ScalanizerPipeline
  2. sealed trait PipelineStep extends AnyRef
    Definition Classes
    ScalanizerPipeline
  3. case class RunStep(name: String)(action: (PipelineStep) ⇒ Unit) extends PipelineStep with Product with Serializable
    Definition Classes
    ScalanizerPipeline
  4. trait UnitStepContext extends AnyRef
    Definition Classes
    ScalanizerPipeline
  5. case class WrapperCake(traitDef: STraitDef, wrappers: List[SUnitDef]) extends Product with Serializable
    Definition Classes
    ScalanizerPipeline
  6. class CatchWrappersTraverser extends G.Traverser
  7. class SourcePipelineParseCtx extends meta.scalanizer.Scalanizer.ParseCtx

Value Members

  1. object UnitStepContext
    Definition Classes
    ScalanizerPipeline
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def addMember(isCompanion: Boolean, member: SMethodDef, wrapper: WrapperDescr): WrapperDescr

    Adds a method or a value to the wrapper.

    Adds a method or a value to the wrapper. The member is added into the first entity in the list if it is not already there. Other entities if any are ignored and left unchanged

    isCompanion

    specifies where to put the method (value) - into class or its companion.

    Definition Classes
    ScalanizerPipeline
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def catchSpecialWrapper(owner: SEntitySymbol, tree: G.Tree): Boolean
    Definition Classes
    ScalanizerPipeline
  8. def catchWrapperUsage(owner: SEntitySymbol, tree: G.Tree): Unit

    For each method call, create type wrapper if the external type should be wrapped.

    For each method call, create type wrapper if the external type should be wrapped.

    Definition Classes
    ScalanizerPipeline
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. lazy val components: List[ScalanizerComponent]
    Definition Classes
    ScalanizerPipeline
  11. def createComponents(): List[ScalanizerComponent]
    Attributes
    protected
    Definition Classes
    ScalanizerPipeline
  12. def createDependencies(objType: G.Type): Unit

    For the given type, find all dependencies and wrap them.

    For the given type, find all dependencies and wrap them.

    Definition Classes
    ScalanizerPipeline
  13. def createMemberDependencies(memberType: G.Type): Unit

    Traversing of the type and adding of wrappers for external types.

    Traversing of the type and adding of wrappers for external types.

    Definition Classes
    ScalanizerPipeline
  14. def createWrapper(externalType: G.Type): WrapperDescr

    Creates scalan-meta Module for an external type symbol.

    Creates scalan-meta Module for an external type symbol. For example: trait WCols extends Base with TypeWrappers { self: Wrappers => trait WCol[A] extends Def[WCol[A]] { self => def arr: Array[A] }; trait WColCompanion extends ExCompanion1[WCol] } where externalType is "class Col" one of the members is "def arr: Array[A]"

    Definition Classes
    ScalanizerPipeline
  15. def createWrapperSpecial(wrapperConf: WrapperConf, packageName: String, externalTypeName: String, tpeArgs: STpeArgs, originalEntityAncestors: List[STypeApply]): WrapperDescr

    Create wrapper module for a new type externalTypeName

    Create wrapper module for a new type externalTypeName

    Definition Classes
    ScalanizerPipeline
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def forEachUnitComponent(runsAfter: List[String], step: ForEachUnitStep): ScalanizerComponent { def newPhase(prev: scala.reflect.internal.Phase): this.StdPhase }
    Definition Classes
    ScalanizerPipeline
  20. def forRunComponent(runsAfter: List[String], step: RunStep): ScalanizerComponent { def newPhase(prev: scala.reflect.internal.Phase): this.StdPhase }
    Definition Classes
    ScalanizerPipeline
  21. def formExternalMethodDef(owner: SEntitySymbol, name: String, tpeArgs: List[STpeArg], argSections: List[SMethodArgs], tpeRes: STpeExpr): SMethodDef
    Definition Classes
    ScalanizerPipeline
  22. def formMethodArgs(args: List[G.Symbol]): List[SMethodArg]

    Form the list of method arguments in terms of Meta AST by using symbols from Scala AST.

    Form the list of method arguments in terms of Meta AST by using symbols from Scala AST.

    Definition Classes
    ScalanizerPipeline
  23. def formMethodRes(res: G.Type): STpeExpr
    Definition Classes
    ScalanizerPipeline
  24. def formMethodTypeArgs(targs: List[G.Symbol]): List[STpeArg]
    Definition Classes
    ScalanizerPipeline
  25. def genUnitBoilerplateText(mc: ModuleConf, unit: SUnitDef, isVirtualized: Boolean): String

    Calls Scalan Meta to generate boilerplate code for the unit.

    Calls Scalan Meta to generate boilerplate code for the unit.

    Definition Classes
    ScalanizerPipeline
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def getExtTypeAncestors(externalType: G.Type): List[STypeApply]

    Gets the list of ancestors of the external type in term of Meta AST.

    Gets the list of ancestors of the external type in term of Meta AST.

    Definition Classes
    ScalanizerPipeline
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def initWrapperCake(): WrapperCake
    Definition Classes
    ScalanizerPipeline
  30. def isEnabled: Boolean
  31. def isHotSpotTree(tree: G.Tree): Boolean

    Checks that the method has @HotSpot

    Checks that the method has @HotSpot

    Definition Classes
    ScalanizerPipeline
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isWrapperSym(sym: G.Symbol): Boolean

    Applying of the policy: wrap all types outside of virtualization scope.

    Applying of the policy: wrap all types outside of virtualization scope.

    Definition Classes
    ScalanizerPipeline
  34. def isWrapperType(tpe: G.Type): Boolean
    Definition Classes
    ScalanizerPipeline
  35. def loadLibraryDeps(step: PipelineStep, lib: LibraryConfig)(implicit ctx: meta.scalanizer.Scalanizer.ParseCtx): Unit
    Definition Classes
    ScalanizerPipeline
  36. def loadModuleUnits(step: PipelineStep, sourceMod: ModuleConf)(implicit ctx: meta.scalanizer.Scalanizer.ParseCtx): Unit
    Definition Classes
    ScalanizerPipeline
  37. def loadProjectModuleDeps(step: PipelineStep, projectMod: ModuleConf)(implicit ctx: meta.scalanizer.Scalanizer.ParseCtx): Unit

    Loads all the dependencies of this project module (Source or Target)

    Loads all the dependencies of this project module (Source or Target)

    Definition Classes
    ScalanizerPipeline
  38. def loadWrapperFromFile(step: PipelineStep, module: ModuleConf, wConf: WrapperConf)(implicit ctx: meta.scalanizer.Scalanizer.ParseCtx): Unit

    Replaces external types by their wrappers.

    Replaces external types by their wrappers. For example: trait Col[A] { def arr: Array[A]; } The external type Array is replaced by its wrapper WArray trait Col[A] { def arr: WArray[A]; }

    Definition Classes
    ScalanizerPipeline
  39. def loadWrapperFromResource(step: PipelineStep, module: ModuleConf, wConf: WrapperConf)(implicit ctx: meta.scalanizer.Scalanizer.ParseCtx): Unit
    Definition Classes
    ScalanizerPipeline
  40. def mkCompanionAncestors(wClassName: String, kind: Int): List[STypeApply]
    Definition Classes
    ScalanizerPipeline
  41. val name: String
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. def registerArrayOp(owner: SEntitySymbol, mkOp: (SSymbol, STpeArg) ⇒ SMethodDef): Unit
    Definition Classes
    ScalanizerPipeline
  46. val runAfter: List[String]
  47. val scalanizer: Scalanizer[G]
    Definition Classes
    ScalanizerPipeline
  48. val steps: List[PipelineStep]
  49. val symbolMap: Map[SSymbol, G.Symbol]
  50. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. def uncurryMethodType(method: G.Type): (List[SMethodArgs], STpeExpr)

    Converts curried method type its uncurried Meta AST representation.

    Converts curried method type its uncurried Meta AST representation.

    Definition Classes
    ScalanizerPipeline
  53. def updateWrapper(owner: SEntitySymbol, objType: G.Type, methodName: G.Name, methodReturnType: G.Type, methodSym: G.Symbol): Unit

    Create/update Meta AST of the module for the external type.

    Create/update Meta AST of the module for the external type. It assembles Meta AST of a method (value) by its Scala's Type.

    Definition Classes
    ScalanizerPipeline
  54. def updateWrapperSpecial(packageName: String, externalTypeName: String, tpeArgs: STpeArgs, originalEntityAncestors: List[STypeApply], isCompanion: Boolean, member: SMethodDef): Unit
    Definition Classes
    ScalanizerPipeline
  55. def updateWrappersCake(cake: WrapperCake, wUnit: SUnitDef): WrapperCake
    Definition Classes
    ScalanizerPipeline
  56. val virtPipeline: SourceUnitVirtualization
  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
    @native() @throws( ... )
  60. def wrapperNames(externalName: String): (String, String, String)

    Gets names of an external type, its class and its module.

    Gets names of an external type, its class and its module.

    Definition Classes
    ScalanizerPipeline
  61. object FindCommentsTraverser extends G.Traverser

Inherited from ScalanizerPipeline[G]

Inherited from AnyRef

Inherited from Any

Ungrouped