SourceSegments

de.uni_luebeck.isp.tessla.tessla_compiler.backends.rustBackend.SourceSegments
case class SourceSegments(stateTypes: ListBuffer[String], stateTraits: ListBuffer[String], stateDef: ListBuffer[String], stateFunctions: ListBuffer[String], stateInit: ListBuffer[String], stateImpl: ListBuffer[String], defaultStateTraits: ListBuffer[String], defaultStateFunctions: ListBuffer[String], input: ListBuffer[String], timestamp: ListBuffer[String], computation: ListBuffer[String], static: ListBuffer[String], store: ListBuffer[String], delayReset: ListBuffer[String])

Contains buffers for all segments where code should be inserted.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def insertSegments(monitorTemplate: String, userIncludes: String, mainTemplate: String): RustFiles

Inserts the specified segments into the template.

Inserts the specified segments into the template.

Attributes

mainTemplate

Path to the template for the main file handling IO.

monitorTemplate

Path to the monitor library template.

userIncludes

The additional user includes.

Returns:

A collection of Rust source files.

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product