class StreamCodeGenerator extends AnyRef

Class containing functions for the translation of single TeSSLa stream expressions to imperative code

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamCodeGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StreamCodeGenerator(nonStreamCodeGenerator: NonStreamCodeGenerator)

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def produceInputFromConsoleCode(inStream: core.TesslaAST.Core.Identifier, typ: core.TesslaAST.Core.Type, currSrc: SourceListing): SourceListing

    Produces code reading the std input (variable inputStream and value) and passes it to the _value variable of an input stream.

    Produces code reading the std input (variable inputStream and value) and passes it to the _value variable of an input stream. For parsing the input string to an exact value a function [TC]inputParse is called which has to be translated in the following phases.

    inStream

    The input stream to be handled

    typ

    The input stream's type. Must be Events[...].

    currSrc

    The source listing the generated block is added to. There is code attached to the inputProcessing section.

    returns

    The modified source listing

  15. def produceInputUnchangeCode(inStream: core.TesslaAST.Core.Identifier, currSrc: SourceListing): SourceListing

    Produces code resetting the changed flags of input variables.

    Produces code resetting the changed flags of input variables.

    inStream

    The inStream to be reseted.

    currSrc

    The source listing the generated block is added to. There is code attached to the tailSource section.

    returns

    The modified source listing

  16. def produceOutputCode(id: core.TesslaAST.Core.Identifier, t: core.TesslaAST.Core.Type, nameOpt: Option[String], currSrc: SourceListing, raw: Boolean): SourceListing

    Add code for output generation (calling of [TC]output) to the source listing.

    Add code for output generation (calling of [TC]output) to the source listing. [TC]output gets value, error, timestamp passed and if the printing format is raw (i.e. only value, not the current timestamp) and has to be translated accordingly in the final code generation

    id

    The id of the stream to be printed

    t

    id's type. Must be Events[...]

    nameOpt

    The alias name of id for printing. Optional.

    currSrc

    The source listing the generated block is added to. There is code attached to the tailSource section.

    raw

    If the output should be printed raw (without timestamp). Is passed to [TC]output.

    returns

    The modified source listing

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def translateExternSignalExpression(id: core.TesslaAST.Core.Identifier, e: core.TesslaAST.Core.ExternExpression, args: Seq[core.TesslaAST.Core.ExpressionArg], typeArgs: Seq[core.TesslaAST.Core.Type], currSource: SourceListing): SourceListing

    Translates an assignment to a stream variable to the corresponding ImpLan Code and attaches it in a given source listing.

    Translates an assignment to a stream variable to the corresponding ImpLan Code and attaches it in a given source listing. The assigned expression has to be (and is always in TeSSLa Core) an application.

    id

    The id which is assigned (must be of stream type)

    e

    The expression which is applicated with args and typeArgs and then assigned

    args

    The arguments passed to e

    typeArgs

    The type arguments passed to e

    currSource

    The source listing where the generated code is attached to. It is attached to the stepSource section of the source listing.

    returns

    The modified source listing

  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped