Codegen

folap.modeldefinition.Codegen
object Codegen

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Codegen.type

Members list

Value members

Concrete methods

def generate(dimension: Dimension): String

Generate the Scala code for the given Dimension

Generate the Scala code for the given Dimension

Value parameters

dimension

The dimension to generate

Attributes

Returns

The generated code

def generate(t: MeasureType): String

Map the MeasureType to a Scala type as a String

Map the MeasureType to a Scala type as a String

Value parameters

t

the Measure's type

Attributes

Returns

the type as a string

def generate(m: Measure): String

Generate the code for a Measure

Generate the code for a Measure

Value parameters

m

the Measure to be generated

Attributes

Returns

the generated code for the provided Measure

def generate(e: Event): String

Generate the code for an Event

Generate the code for an Event

Value parameters

e

the Event to generate

Attributes

Returns

the generated code for the given Event