class ConstantEvaluatorWorker extends tessla.TesslaCore.IdentifierFactory with Translator[Specification]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConstantEvaluatorWorker
- Translator
- IdentifierFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ConstantEvaluatorWorker(spec: TypedTessla.Specification, baseTimeUnit: Option[TimeUnit])
Type Members
- case class BuiltInEntry(builtIn: BuiltIn, typ: TypedTessla.Type) extends TranslationResult with Product with Serializable
- type Env = Map[TypedTessla.Identifier, EnvEntryWrapper]
- sealed abstract class EnvEntry extends AnyRef
- case class EnvEntryWrapper(entry: EnvEntry) extends Product with Serializable
- case class FunctionEntry(f: Function, id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
- case class FunctionParameterEntry(id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
- case class InputStreamEntry(name: String, typ: StreamType) extends TranslationResult with Product with Serializable
- case class MacroEntry(mac: TypedTessla.Macro, closure: Env, functionValue: Option[Closure]) extends TranslationResult with Product with Serializable
- case class NilEntry(nil: Nil, typ: StreamType) extends TranslationResult with Product with Serializable
- case class NotYetTranslated(entry: TypedTessla.VariableEntry, closure: Env, inFunction: Boolean) extends EnvEntry with Product with Serializable
- case class ObjectEntry(members: Map[String, Lazy[TranslationResult]], loc: Location) extends TranslationResult with Product with Serializable
- case class StreamEntry(streamId: TesslaCore.Identifier, typ: StreamType) extends TranslationResult with Product with Serializable
- case class Translated(result: Lazy[TranslationResult]) extends EnvEntry with Product with Serializable
- case class Translating(loc: Location) extends EnvEntry with Product with Serializable
- sealed abstract class TranslationResult extends AnyRef
- case class TypeEntry(typ: ValueType) extends TranslationResult with Product with Serializable
- case class ValueEntry(value: ValueOrError) extends TranslationResult with Product with Serializable
- case class ValueExpressionEntry(exp: ValueExpression, id: TesslaCore.Identifier) extends TranslationResult with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
abort(): Nothing
- Attributes
- protected
- Definition Classes
- Translator
-
def
abortOnError(): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- def createEnvForDefs(defs: TypedTessla.Definitions, parent: Env): Env
- def createEnvForDefsWithParents(defs: TypedTessla.Definitions): Env
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(error: TesslaError): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
val
errors: ArrayBuffer[TesslaError]
- Attributes
- protected
- Definition Classes
- Translator
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getFunction(env: Env, id: TypedTessla.Identifier, loc: Location): ValueArg
- def getFunctionForLift(env: Env, id: TypedTessla.Identifier, loc: Location): Function
- def getResult(envEntry: EnvEntry): Lazy[TranslationResult]
- def getStream(envEntry: EnvEntry, loc: Location): StreamRef
- def getStreamType(envEntry: EnvEntry): StreamType
- def getType(env: Env, id: TypedTessla.Identifier): ValueType
- def getValue(envEntry: EnvEntry): ValueOrError
- def getValueArg(entry: EnvEntry): ValueArg
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
identifierCounter: Long
- Attributes
- protected
- Definition Classes
- IdentifierFactory
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isValueCompatibleType(typ: TypedTessla.Type): Boolean
* Checks whether the given type can be used inside a value function definition
- def isValueFunction(mac: TypedTessla.Macro): Boolean
-
def
makeIdentifier(name: String): TesslaCore.Identifier
- Attributes
- protected
- Definition Classes
- IdentifierFactory
-
def
makeIdentifier(): TesslaCore.Identifier
- Attributes
- protected
- Definition Classes
- IdentifierFactory
-
def
makeIdentifier(nameOpt: Option[String]): TesslaCore.Identifier
- Attributes
- protected
- Definition Classes
- IdentifierFactory
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
translate(): Result[Specification]
- Definition Classes
- Translator
- def translateEntry(env: Env, wrapper: EnvEntryWrapper): Unit
- def translateEnv(env: Env): Unit
- def translateExpression(env: Env, wrapper: EnvEntryWrapper, expression: TypedTessla.Expression, nameOpt: Option[String], typ: TypedTessla.Type, inFunction: Boolean): Unit
- def translateFunction(closure: Env, mac: TypedTessla.Macro): Function
- def translateLiteral(literal: LiteralValue, loc: Location): Value
-
def
translateSpec(): Specification
- Definition Classes
- ConstantEvaluatorWorker → Translator
- def translateStreamType(typ: TypedTessla.Type, env: Env): StreamType
- def translateValueType(typ: TypedTessla.Type, env: Env): ValueType
- def translateVar(env: Env, id: TypedTessla.Identifier, loc: Location): EnvEntry
-
def
tryWithDefault[R](default: ⇒ R)(body: ⇒ R): R
- Attributes
- protected
- Definition Classes
- Translator
-
def
unwrapResult[T](result: Result[T]): T
- Attributes
- protected
- Definition Classes
- Translator
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warn(loc: Location, message: String): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
def
warn(diagnostic: Diagnostic): Unit
- Attributes
- protected
- Definition Classes
- Translator
-
val
warnings: ArrayBuffer[Diagnostic]
- Attributes
- protected
- Definition Classes
- Translator