c

de.uni_luebeck.isp.tessla

ConstantEvaluatorWorker

class ConstantEvaluatorWorker extends tessla.TesslaCore.IdentifierFactory with Translator[Specification]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantEvaluatorWorker
  2. Translator
  3. IdentifierFactory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantEvaluatorWorker(spec: TypedSpecification, baseTimeUnit: Option[TimeUnit])

Type Members

  1. case class BuiltInEntry(builtIn: TypedTessla.BuiltInOperator, typ: TypedTessla.Type) extends TranslationResult with Product with Serializable
  2. type Env = Map[TypedTessla.Identifier, EnvEntry]
  3. case class EnvEntry(result: LazyWithStack[TranslationResult, Location], loc: Location) extends Product with Serializable
  4. case class FunctionEntry(f: Function, id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
  5. case class FunctionParameterEntry(id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
  6. case class InputStreamEntry(name: String, typ: StreamType) extends TranslationResult with Product with Serializable
  7. case class MacroEntry(mac: TypedTessla.Macro, closure: Env, functionValue: Option[Closure]) extends TranslationResult with Product with Serializable
  8. case class NilEntry(nil: Nil, typ: StreamType) extends TranslationResult with Product with Serializable
  9. case class ObjectEntry(members: Map[String, TranslationResult], loc: Location) extends TranslationResult with Product with Serializable
  10. case class StreamEntry(streamId: TesslaCore.Identifier, typ: StreamType) extends TranslationResult with Product with Serializable
  11. sealed abstract class TranslationResult extends AnyRef
  12. type TypeEnv = Map[TypedTessla.Identifier, ValueType]
  13. case class ValueEntry(value: ValueOrError) extends TranslationResult with Product with Serializable
  14. case class ValueExpressionEntry(exp: ValueExpression, id: TesslaCore.Identifier, typ: ValueType) extends TranslationResult with Product with Serializable

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. def abort(): Nothing
    Attributes
    protected
    Definition Classes
    Translator
  5. def abortOnError(): Unit
    Attributes
    protected
    Definition Classes
    Translator
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  8. def createEnvForDefs(defs: TypedTessla.Definitions, parent: Env, typeEnv: TypeEnv): Env
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def error(error: TesslaError): Unit
    Attributes
    protected
    Definition Classes
    Translator
  12. val errors: ArrayBuffer[TesslaError]
    Attributes
    protected
    Definition Classes
    Translator
  13. def getArg(result: TranslationResult, loc: Location): Arg
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getFunction(env: Env, id: TypedTessla.Identifier, loc: Location, stack: List[Location]): ValueArg
  16. def getFunctionForLift(env: Env, id: TypedTessla.Identifier, returnType: ValueType, loc: Location, stack: List[Location]): Function
  17. def getStream(result: TranslationResult, loc: Location): StreamRef
  18. def getStreamType(result: TranslationResult): StreamType
  19. def getValue(result: TranslationResult): ValueOrError
  20. def getValueArg(entry: TranslationResult): ValueArg
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def identifierCounter: Long
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isValueCompatibleType(typ: TypedTessla.Type): Boolean

    * Checks whether the given type can be used inside a value function definition

  25. def isValueFunction(mac: TypedTessla.Macro): Boolean
  26. def makeIdentifier(name: String): TesslaCore.Identifier
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  27. def makeIdentifier(): TesslaCore.Identifier
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  28. def makeIdentifier(nameOpt: Option[String]): TesslaCore.Identifier
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def translate(): Result[Specification]
    Definition Classes
    Translator
  35. def translateEntry(wrapper: EnvEntry, stack: List[Location]): TranslationResult
  36. def translateEnv(env: Env, stack: List[Location]): Map[TypedTessla.Identifier, TranslationResult]
  37. def translateExpression(env: Env, typeEnv: TypeEnv, expression: TypedTessla.Expression, nameOpt: Option[String], typ: TypedTessla.Type, inFunction: Boolean, annotations: Seq[Annotation], stack: List[Location]): TranslationResult
  38. def translateFunction(closure: Env, typeEnv: TypeEnv, mac: TypedTessla.Macro, stack: List[Location]): Function
  39. def translateLiteral(literal: LiteralValue, loc: Location): Value
  40. def translateSpec(): Specification
    Definition Classes
    ConstantEvaluatorWorkerTranslator
  41. def translateStreamType(typ: TypedTessla.Type, typeEnv: TypeEnv): StreamType
  42. def translateValueType(typ: TypedTessla.Type, typeEnv: TypeEnv): ValueType
  43. def translateVar(env: Env, id: TypedTessla.Identifier, loc: Location, stack: List[Location]): TranslationResult
  44. def tryWithDefault[R](default: ⇒ R)(body: ⇒ R): R
    Attributes
    protected
    Definition Classes
    Translator
  45. def unwrapResult[T](result: Result[T]): T
    Attributes
    protected
    Definition Classes
    Translator
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def warn(loc: Location, message: String): Unit
    Attributes
    protected
    Definition Classes
    Translator
  50. def warn(diagnostic: Diagnostic): Unit
    Attributes
    protected
    Definition Classes
    Translator
  51. val warnings: ArrayBuffer[Diagnostic]
    Attributes
    protected
    Definition Classes
    Translator

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Translator[Specification]

Inherited from AnyRef

Inherited from Any

Ungrouped