class Flattener extends tessla.FlatTessla.IdentifierFactory with TranslationPhase[Specification, tessla.FlatTessla.Specification]

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

Instance Constructors

  1. new Flattener()

Type Members

  1. case class Env(variables: IdMap, types: IdMap) extends Product with Serializable
  2. type IdMap = Map[String, FlatTessla.Identifier]

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
    TranslationPhase
  5. def abortOnError(): Unit
    Attributes
    protected
    Definition Classes
    TranslationPhase
  6. def addDefinition(definition: Definition, scope: FlatTessla.Scope, env: Env): Unit
  7. def addTypeDefinition(definition: TypeDefinition, scope: FlatTessla.Scope, env: Env): Unit
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val builtInTypes: Map[String, FlatTessla.TypeEntry]
  10. def checkForDuplicates(identifiers: Seq[Identifier]): Unit
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  12. def createIdMap(names: Iterable[String]): IdMap
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def error(error: TesslaError): Unit
    Attributes
    protected
    Definition Classes
    TranslationPhase
  16. val errorExpression: FlatTessla.Variable
  17. val errors: ArrayBuffer[TesslaError]
    Attributes
    protected
    Definition Classes
    TranslationPhase
  18. val eventsType: FlatTessla.TypeEntry
  19. def expToId(exp: FlatTessla.Expression, scope: FlatTessla.Scope): FlatTessla.Identifier

    Turn an arbitrary expression into an identifier by either creating a new identifier and making it point to the expression or, if the expression is a variable reference, returning the referenced identifier.

  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def getExp(tesslaId: Identifier, env: Env): FlatTessla.Variable
  22. def getId(statement: Statement): Option[Identifier]
  23. def getName(statement: Statement): Option[String]
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val listType: FlatTessla.TypeEntry
  27. def makeIdentifier(name: String): FlatTessla.Identifier
    Definition Classes
    IdentifierFactory
  28. def makeIdentifier(): FlatTessla.Identifier
    Definition Classes
    IdentifierFactory
  29. def makeIdentifier(nameOpt: Option[String]): FlatTessla.Identifier
    Definition Classes
    IdentifierFactory
  30. val mapType: FlatTessla.TypeEntry
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. val optionType: FlatTessla.TypeEntry
  35. val setType: FlatTessla.TypeEntry
  36. val stdlib: Map[String, FlatTessla.VariableEntry]
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def translate(spec: Specification): Result[FlatTessla.Specification]
    Definition Classes
    TranslationPhase
  40. def translateExpression(expr: Expression, scope: FlatTessla.Scope, env: Env): FlatTessla.Expression
  41. def translateParameter(param: Parameter, idMap: IdMap, scope: FlatTessla.Scope, env: Env): FlatTessla.Parameter
  42. def translateSpec(spec: Specification): FlatTessla.Specification
    Definition Classes
    FlattenerTranslationPhase
  43. def translateType(typ: Type, scope: FlatTessla.Scope, env: Env): FlatTessla.Type
  44. def tryWithDefault[R](default: ⇒ R)(body: ⇒ R): R
    Attributes
    protected
    Definition Classes
    TranslationPhase
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def warn(loc: Location, message: String): Unit
    Attributes
    protected
    Definition Classes
    TranslationPhase
  49. def warn(diagnostic: Diagnostic): Unit
    Attributes
    protected
    Definition Classes
    TranslationPhase
  50. val warnings: ArrayBuffer[Diagnostic]
    Attributes
    protected
    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