class Flattener extends tessla.FlatTessla.IdentifierFactory with Translator[tessla.FlatTessla.Specification]

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

Instance Constructors

  1. new Flattener(spec: Specification)

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
    Translator
  5. def abortOnError(): Unit
    Attributes
    protected
    Definition Classes
    Translator
  6. def addDefinition(definition: Definition, defs: FlatTessla.Definitions, env: Env): Unit
  7. def addTypeDefinition(definition: TypeDefinition, defs: FlatTessla.Definitions, 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
    Translator
  16. val errorExpression: FlatTessla.Variable
  17. val errors: ArrayBuffer[TesslaError]
    Attributes
    protected
    Definition Classes
    Translator
  18. val eventsType: FlatTessla.TypeEntry
  19. def expToId(exp: FlatTessla.Expression, defs: FlatTessla.Definitions): 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. def identifierCounter: Long
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val listType: FlatTessla.TypeEntry
  28. def makeIdentifier(name: String): FlatTessla.Identifier
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  29. def makeIdentifier(): FlatTessla.Identifier
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  30. def makeIdentifier(nameOpt: Option[String]): FlatTessla.Identifier
    Attributes
    protected
    Definition Classes
    IdentifierFactory
  31. val mapType: FlatTessla.TypeEntry
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. val optionType: FlatTessla.TypeEntry
  36. val setType: FlatTessla.TypeEntry
  37. val stdlib: Map[String, FlatTessla.VariableEntry]
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def translate(): Result[FlatTessla.Specification]
    Definition Classes
    Translator
  41. def translateExpression(expr: Expression, defs: FlatTessla.Definitions, env: Env): FlatTessla.Expression
  42. def translateParameter(param: Parameter, idMap: IdMap, defs: FlatTessla.Definitions, env: Env): FlatTessla.Parameter
  43. def translateSpec(): FlatTessla.Specification
    Definition Classes
    FlattenerTranslator
  44. def translateType(typ: Type, defs: FlatTessla.Definitions, env: Env): FlatTessla.Type
  45. def tryWithDefault[R](default: ⇒ R)(body: ⇒ R): R
    Attributes
    protected
    Definition Classes
    Translator
  46. def unwrapResult[T](result: Result[T]): T
    Attributes
    protected
    Definition Classes
    Translator
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def warn(loc: Location, message: String): Unit
    Attributes
    protected
    Definition Classes
    Translator
  51. def warn(diagnostic: Diagnostic): Unit
    Attributes
    protected
    Definition Classes
    Translator
  52. 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 AnyRef

Inherited from Any

Ungrouped