TransitionModule

fr.hammons.slinc.modules.TransitionModule

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def addressReturn(value: Object): Mem
def memReturn(value: Object): Mem
def methodArgument[A](td: TypeDescriptor, value: A, alloc: Allocator): Any

Transitions a method argument to the appropriate format

Transitions a method argument to the appropriate format

Value parameters

alloc

An allocator for allocating memory

td

Type Descriptor of the argument

value

The argument to transition

Attributes

Returns

The transitioned value

def methodArgument(a: Allocator): Any

Transitions an allocator into an appropriate format

Transitions an allocator into an appropriate format

Value parameters

a

An allocator

Attributes

Returns

The transitioned value

def methodArgument(m: Mem): Any
def methodReturn[A](td: TypeDescriptor, value: Object): A

Transitions a return value into the Slinc format

Transitions a return value into the Slinc format

Value parameters

td

Type descriptor of the return

value

The return value

Attributes

Returns

A slinc compatible data object

Concrete methods

def functionArgument[A](td: TypeDescriptor, value: Object): A
def functionReturn[A](td: TypeDescriptor, value: A, alloc: Allocator): Any