Dataflow Software Stack  032db78
Master Thesis of Mathijs Saey at the VUB
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
IGR.literal.Literal Class Reference

Literal. More...

Inherits object.

Public Member Functions

def __init__
 Create a new literal. More...
 
def isPort
 See if this is a port (mainly for traversal) More...
 

Public Attributes

 value
 
 destination
 

Detailed Description

Literal.

Literals are values inherent to the program. Examples include constants in arithmetic expressions, function names, strings, ...

Every literal has a value and a target, which is an IGR::port::InputPort.

Constructor & Destructor Documentation

def IGR.literal.Literal.__init__ (   self,
  value,
  destination 
)

Create a new literal.

Parameters
valueThe value of the literal
destinationThe destination of the literal value

Member Function Documentation

def IGR.literal.Literal.isPort (   self)

See if this is a port (mainly for traversal)

Member Data Documentation

IGR.literal.Literal.value
IGR.literal.Literal.destination