Class

com.avsystem.scex.compiler

DefaultScexCompiler

Related Doc: package compiler

Permalink

class DefaultScexCompiler extends ScexCompiler with ScexPresentationCompiler with ClassfileReusingScexCompiler with TemplateOptimizingScexCompiler with CachingScexCompiler with CachingScexPresentationCompiler with WeakReferenceWrappingScexCompiler

Created: 17-10-2013 Author: ghik

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultScexCompiler
  2. WeakReferenceWrappingScexCompiler
  3. CachingScexPresentationCompiler
  4. CachingScexCompiler
  5. TemplateOptimizingScexCompiler
  6. ClassfileReusingScexCompiler
  7. ScexPresentationCompiler
  8. ScexCompiler
  9. LoggingUtils
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultScexCompiler(settings: ScexSettings)

    Permalink

Type Members

  1. class Completer extends AnyRef

    Permalink
    Definition Classes
    ScexPresentationCompiler
  2. case class LazyLogger(underlying: Logger) extends Product with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingUtils
  3. type RawExpression = Expression[ExpressionContext[_, _], Any]

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  4. class Reporter extends AbstractReporter

    Permalink
    Definition Classes
    ScexCompiler
  5. class ScexClassLoader extends AbstractFileClassLoader

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  6. case class TypeMembersCacheKey(profile: ExpressionProfile, contextType: String, ownerType: TypeWrapper) extends Product with Serializable

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compile(sourceFile: ScexSourceFile): Either[ScexClassLoader, List[CompileError]]

    Permalink
    Attributes
    protected
    Definition Classes
    ScexPresentationCompilerScexCompiler
  7. def compileClass(code: String, name: String): Class[_]

    Permalink

    Compiles arbitrary Scala source file into a dedicated class loader and loads class with given fully qualified name from that class loader.

    Compiles arbitrary Scala source file into a dedicated class loader and loads class with given fully qualified name from that class loader.

    Definition Classes
    ScexCompiler
  8. def compileExpression(exprDef: ExpressionDef): Try[RawExpression]

    Permalink
    Attributes
    protected
    Definition Classes
    WeakReferenceWrappingScexCompilerScexCompiler
  9. def compileExpressionUtils(source: NamedSource): Try[Option[String]]

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexCompilerScexCompiler
  10. def compileJavaGetterAdapters(name: String, classes: Seq[Class[_]], full: Boolean): Try[Seq[Option[String]]]

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexCompilerScexCompiler
  11. def compileProfileObject(profile: ExpressionProfile): Try[Option[String]]

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexCompilerScexCompiler
  12. def compileSymbolAttributes(source: NamedSource): SymbolAttributes

    Permalink
  13. def compileSymbolValidator(source: NamedSource): SymbolValidator

    Permalink
    Definition Classes
    CachingScexCompilerScexCompiler
  14. def compileSyntaxValidator(source: NamedSource): SyntaxValidator

    Permalink
    Definition Classes
    CachingScexCompilerScexCompiler
  15. def createLogger[T](implicit arg0: ClassTag[T]): LazyLogger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingUtils
  16. def createNonSharedClassLoader(sourceFile: ScexSourceFile): ScexClassLoader

    Permalink
    Attributes
    protected
    Definition Classes
    ClassfileReusingScexCompilerScexCompiler
  17. final def ensureSetup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def expressionCode(exprDef: ExpressionDef, noMacroProcessing: Boolean = false): (String, String, Int)

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getCompiledExpression[C <: ExpressionContext[_, _], T](profile: ExpressionProfile, expression: String, variableTypes: Map[String, scala.reflect.api.JavaUniverse.Type] = Map.empty, template: Boolean = true, header: String = "")(implicit ctt: scala.reflect.api.JavaUniverse.TypeTag[C], ttt: scala.reflect.api.JavaUniverse.TypeTag[T]): Expression[C, T]

    Permalink
    Definition Classes
    ScexCompiler
  24. final def getCompiledExpression[C <: ExpressionContext[_, _], T](exprDef: ExpressionDef): Expression[C, T]

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  25. def getCompiledSetterExpression[C <: ExpressionContext[_, _], T](profile: ExpressionProfile, expression: String, template: Boolean = true, variableTypes: Map[String, scala.reflect.api.JavaUniverse.Type] = Map.empty, header: String = "")(implicit ctt: scala.reflect.api.JavaUniverse.TypeTag[C], ttt: scala.reflect.api.JavaUniverse.TypeTag[T]): Expression[C, Setter[T]]

    Permalink
    Definition Classes
    ScexCompiler
  26. def getCompleter(profile: ExpressionProfile, template: Boolean, setter: Boolean, header: String, contextType: String, rootObjectClass: Class[_], resultType: String, variableTypes: Map[String, String]): Completer

    Permalink
    Attributes
    protected
    Definition Classes
    ScexPresentationCompiler
  27. def getCompleter[C <: ExpressionContext[_, _], T](profile: ExpressionProfile, template: Boolean = true, setter: Boolean = false, variableTypes: Map[String, scala.reflect.api.JavaUniverse.Type] = Map.empty, header: String = "")(implicit ctt: scala.reflect.api.JavaUniverse.TypeTag[C], ttt: scala.reflect.api.JavaUniverse.TypeTag[T]): Completer

    Permalink
    Definition Classes
    ScexPresentationCompiler
  28. def getErrors(exprDef: ExpressionDef): List[CompileError]

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexPresentationCompilerScexPresentationCompiler
  29. def getOrThrow[T](resp: Response[T]): T

    Permalink
    Definition Classes
    ScexPresentationCompiler
  30. def getScopeCompletion(exprDef: ExpressionDef): Completion

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexPresentationCompilerScexPresentationCompiler
  31. def getSharedClassLoader: ScexClassLoader

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  32. def getTypeCompletion(exprDef: ExpressionDef, position: Int): Completion

    Permalink
    Attributes
    protected
    Definition Classes
    ScexPresentationCompiler
  33. def getTypeMembers(global: IGlobal)(exprDef: ExpressionDef, ownerTpe: presentation.IGlobal.Type)(computeMembers: ⇒ Vector[Member]): Vector[Member]

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexPresentationCompilerScexPresentationCompiler
  34. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  35. def instantiate[T](classLoader: ClassLoader, className: String): T

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  36. def isEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ScexPresentationCompiler
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. def loadCompilerPlugins(global: ScexGlobal): List[Plugin]

    Permalink
    Attributes
    protected
    Definition Classes
    ClassfileReusingScexCompilerScexCompiler
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def parse(exprDef: ExpressionDef): Tree

    Permalink
    Attributes
    protected
    Definition Classes
    ScexPresentationCompiler
  43. def preprocess(expression: String, template: Boolean): (String, PositionMapping)

    Permalink
    Attributes
    protected
    Definition Classes
    CachingScexCompilerScexCompiler
  44. def reset(): Unit

    Permalink

    Resets internal compiler state by creating completely new instance of Scala compiler and invalidating all internal caches.

    Resets internal compiler state by creating completely new instance of Scala compiler and invalidating all internal caches.

    Definition Classes
    CachingScexPresentationCompilerScexPresentationCompilerScexCompiler
  45. def runCompiler(global: ScexGlobal, sourceFile: ScexSourceFile): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ClassfileReusingScexCompilerScexCompiler
  46. val settings: ScexSettings

    Permalink
    Definition Classes
    DefaultScexCompilerScexCompiler
  47. def setup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ClassfileReusingScexCompilerScexCompiler
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  50. def underLock[T](code: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def withGlobal[T](code: (ScexGlobal) ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    ScexCompiler
  55. final def withIGlobal[T](code: (IGlobal) ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    ScexPresentationCompiler

Inherited from CachingScexCompiler

Inherited from ScexPresentationCompiler

Inherited from ScexCompiler

Inherited from LoggingUtils

Inherited from AnyRef

Inherited from Any

Ungrouped