IntermediateCode
de.uni_luebeck.isp.tessla.tessla_compiler.IntermediateCode
object IntermediateCode
Class containing subclasses for the representation of abstract imperative code which can afterwards be transduced into Scala/Java/Rust/... code
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IntermediateCode.type
Members list
Type members
Classlikes
case object AnyType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
AnyType.type
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
- Self type
-
AnyValue.type
final case class Assignment(lhs: Variable, rexpr: ImpLanExpr, defVal: Option[ImpLanExpr], typ: ImpLanType, glob: Boolean) extends ImpLanStmt
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
case object BoolType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
BoolType.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class CastingExpression(e: ImpLanExpr, from: ImpLanType, target: ImpLanType) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
case object DoubleType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
DoubleType.type
final case class DoubleValue(value: Double) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyFunction(typeHint: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyImmutableList(valType: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyImmutableMap(keyType: ImpLanType, valType: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyImmutableSet(valType: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyMutableList(valType: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyMutableMap(keyType: ImpLanType, valType: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class EmptyMutableSet(valType: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class Equal(e1: ImpLanExpr, e2: ImpLanExpr) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
case object ErrorType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ErrorType.type
final case class FinalAssignment(lhs: Variable, defVal: Option[ImpLanExpr], typ: ImpLanType, lazyVar: Boolean) extends ImpLanStmt
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class FunctionCall(name: String, params: Seq[ImpLanExpr], typeHint: FunctionType) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class FunctionType(argsTypes: Seq[ImpLanType], retType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
case object GeneralType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
GeneralType.type
case object GeneralValue extends ImpLanVal
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
- Self type
-
GeneralValue.type
sealed abstract class GenericImpLanType(gt: Seq[ImpLanType]) extends ImpLanType
Attributes
- Supertypes
- Known subtypes
-
class FunctionTypeclass ImmutableListTypeclass ImmutableMapTypeclass ImmutableSetTypeclass LazyContainerclass MutableListTypeclass MutableMapTypeclass MutableSetTypeclass NativeTypeclass OptionTypeShow all
final case class If(guard: Seq[Seq[ImpLanExpr]], stmts: Seq[ImpLanStmt], elseStmts: Seq[ImpLanStmt]) extends ImpLanStmt
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class ImmutableListType(valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class ImmutableMapType(keyType: ImpLanType, valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class ImmutableSetType(valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
sealed trait ImpLanExpr extends ImpLanStmt
Attributes
- Supertypes
- Known subtypes
-
class CastingExpressionclass Equalclass FunctionCalltrait ImpLanValobject AnyValue.typeclass BoolValueclass DoubleValueclass EmptyFunctionclass EmptyImmutableListclass EmptyImmutableMapclass EmptyImmutableSetclass EmptyMutableListclass EmptyMutableMapclass EmptyMutableSetobject GeneralValue.typeclass LongValueobject NoError.typeclass NoneValueclass SomeValueclass StringValueclass StructValueobject UnitValue.typeclass LambdaApplicationclass LambdaExpressionclass TernaryExpressionclass VariableShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Assignmentclass FinalAssignmentclass Iftrait ImpLanExprclass CastingExpressionclass Equalclass FunctionCalltrait ImpLanValobject AnyValue.typeclass BoolValueclass DoubleValueclass EmptyFunctionclass EmptyImmutableListclass EmptyImmutableMapclass EmptyImmutableSetclass EmptyMutableListclass EmptyMutableMapclass EmptyMutableSetobject GeneralValue.typeclass LongValueobject NoError.typeclass NoneValueclass SomeValueclass StringValueclass StructValueobject UnitValue.typeclass LambdaApplicationclass LambdaExpressionclass TernaryExpressionclass Variableclass ReturnStatementclass TryCatchBlockShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object AnyType.typeobject BoolType.typeobject DoubleType.typeobject ErrorType.typeobject GeneralType.typeclass GenericImpLanTypeclass FunctionTypeclass ImmutableListTypeclass ImmutableMapTypeclass ImmutableSetTypeclass LazyContainerclass MutableListTypeclass MutableMapTypeclass MutableSetTypeclass NativeTypeclass OptionTypeobject LongType.typeobject StringType.typeclass StructTypeobject UnitType.typeobject VoidType.typeShow all
sealed trait ImpLanVal extends ImpLanExpr
Attributes
- Supertypes
- Known subtypes
-
object AnyValue.typeclass BoolValueclass DoubleValueclass EmptyFunctionclass EmptyImmutableListclass EmptyImmutableMapclass EmptyImmutableSetclass EmptyMutableListclass EmptyMutableMapclass EmptyMutableSetobject GeneralValue.typeclass LongValueobject NoError.typeclass NoneValueclass SomeValueclass StringValueclass StructValueobject UnitValue.typeShow all
final case class LambdaApplication(exp: ImpLanExpr, params: Seq[ImpLanExpr]) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class LambdaExpression(argNames: Seq[String], argsTypes: Seq[ImpLanType], retType: ImpLanType, body: Seq[ImpLanStmt]) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class LazyContainer(subType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
case object LongType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
LongType.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class MutableListType(valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class MutableMapType(keyType: ImpLanType, valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class MutableSetType(valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class NativeType(name: String, subTypes: Seq[ImpLanType]) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
- Self type
-
NoError.type
final case class NoneValue(typeHint: ImpLanType) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class OptionType(valType: ImpLanType) extends GenericImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GenericImpLanTypetrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class ReturnStatement(expr: ImpLanExpr) extends ImpLanStmt
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
case class SourceListing(stepSource: Seq[ImpLanStmt], tailSource: Seq[ImpLanStmt], tsGenSource: Seq[ImpLanStmt], inputProcessing: Seq[ImpLanStmt], staticSource: Seq[ImpLanStmt])
Container class for the translated abstract imperative code
Container class for the translated abstract imperative code
Value parameters
- inputProcessing
-
Imperative statements executed to process the input
- staticSource
-
Imperative statements executed prior monitor execution
- stepSource
-
Imperative statements executed when a new timestamp arrives
- tailSource
-
Imperative statements executed when a calculation has just been performed
- tsGenSource
-
Imperative statements executed to negotiate the next active timestamp
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case object StringType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
StringType.type
final case class StringValue(value: String) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class StructType(subTypes: Seq[ImpLanType], fieldNames: Seq[String]) extends ImpLanType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
final case class StructValue(values: Map[String, ImpLanVal]) extends ImpLanVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class TernaryExpression(guard: Seq[Seq[ImpLanExpr]], e1: ImpLanExpr, e2: ImpLanExpr) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
final case class TryCatchBlock(tr: Seq[ImpLanStmt], cat: Seq[ImpLanStmt]) extends ImpLanStmt
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
case object UnitType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
UnitType.type
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanValtrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
- Self type
-
UnitValue.type
final case class Variable(name: String) extends ImpLanExpr
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ImpLanExprtrait ImpLanStmtclass Objecttrait Matchableclass AnyShow all
case object VoidType extends ImpLanType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ImpLanTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
VoidType.type
In this article