c

de.uni_luebeck.isp.tessla

ConstantEvaluator

class ConstantEvaluator extends tessla.TesslaCore.IdentifierFactory with TranslationPhase[tessla.TypedTessla.Specification, Specification]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantEvaluator
  2. TranslationPhase
  3. IdentifierFactory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantEvaluator(baseTimeUnit: Option[TimeUnit])

Type Members

  1. case class BuiltInEntry(builtIn: BuiltIn) extends TranslationResult with Product with Serializable
  2. type Env = Map[TypedTessla.Identifier, EnvEntryWrapper]
  3. sealed abstract class EnvEntry extends AnyRef
  4. case class EnvEntryWrapper(entry: EnvEntry) extends Product with Serializable
  5. case class FunctionEntry(f: Function, id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
  6. case class FunctionParameterEntry(id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
  7. case class InputStreamEntry(name: String, typ: StreamType) extends TranslationResult with Product with Serializable
  8. case class MacroEntry(mac: TypedTessla.Macro, closure: Env, functionValue: Option[Closure]) extends TranslationResult with Product with Serializable
  9. case class NilEntry(nil: Nil, typ: StreamType) extends TranslationResult with Product with Serializable
  10. case class NotYetTranslated(entry: TypedTessla.VariableEntry, closure: Env, inFunction: Boolean) extends EnvEntry with Product with Serializable
  11. case class ObjectEntry(members: Map[String, Lazy[TranslationResult]], loc: Location) extends TranslationResult with Product with Serializable
  12. case class StreamEntry(streamId: TesslaCore.Identifier, typ: StreamType) extends TranslationResult with Product with Serializable
  13. case class Translated(result: Lazy[TranslationResult]) extends EnvEntry with Product with Serializable
  14. case class Translating(loc: Location) extends EnvEntry with Product with Serializable
  15. sealed abstract class TranslationResult extends AnyRef
  16. case class TypeEntry(typ: ValueType) extends TranslationResult with Product with Serializable
  17. case class ValueEntry(value: ValueOrError) extends TranslationResult with Product with Serializable
  18. case class ValueExpressionEntry(exp: ValueExpression, id: TesslaCore.Identifier) 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. def createEnvForScope(scope: TypedTessla.Scope, parent: Env): Env
  7. def createEnvForScopeWithParents(scope: TypedTessla.Scope): Env
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def error(error: TesslaError): Unit
    Definition Classes
    TranslationPhase
  11. val errors: ArrayBuffer[TesslaError]
    Definition Classes
    TranslationPhase
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getFunction(env: Env, id: TypedTessla.Identifier, loc: Location): ValueArg
  14. def getResult(envEntry: EnvEntry): Lazy[TranslationResult]
  15. def getStream(envEntry: EnvEntry, loc: Location): StreamRef
  16. def getStreamType(envEntry: EnvEntry): StreamType
  17. def getType(env: Env, id: TypedTessla.Identifier): ValueType
  18. def getValue(envEntry: EnvEntry): ValueOrError
  19. def getValueArg(entry: EnvEntry): ValueArg
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isValueCompatibleType(typ: TypedTessla.Type): Boolean

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

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

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 AnyRef

Inherited from Any

Ungrouped