|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Type | |
---|---|
SFE.Compiler |
Uses of Type in SFE.Compiler |
---|
Subclasses of Type in SFE.Compiler | |
---|---|
class |
ArrayType
Class ArraType is used for representing an Array that was defined in the program. |
class |
BooleanType
A class representing the boolean primitive type that can be defined in the program. |
class |
BusType
A class representing a value of the primitive bus of an arbitrary length. |
class |
IntType
A class representing the integer primitive type of an arbitrary length. |
class |
ParentType
this class represents types that contain other types such as structs and arrays |
class |
StructType
Class StructType is used for representing a Struct that was defined in the program. |
Methods in SFE.Compiler that return Type | |
---|---|
Type |
StructType.fromFieldName(java.lang.String fieldName)
Return the object representing the type of the specified field name, or null if there was no such field defined for this StructType. |
static Type |
Type.fromName(java.lang.String typeName)
Returns the object representing the type of the specified type name, or null if there was no such type defined for this type name. |
Type |
ArrayType.getBaseType()
Returns the base type of this ArrayType. |
Type |
Variable.getType()
Returns the Type of this varable. |
Type |
VarLvalue.getType()
Returns the Type of this Lvalue object. |
Type |
StructFieldLvalue.getType()
Returns the Type of this Lvalue object. |
abstract Type |
Lvalue.getType()
Returns the Type of this Lvalue object. |
Type |
LvalExpression.getType()
Returns the Type of this LvalExpression's lvalue. |
Type |
BitLvalue.getType()
Returns the base Type of this BitLvalue. |
Type |
ArrayEntryLvalue.getType()
Returns the Type of this LArrayEntryLvalue object. |
Methods in SFE.Compiler with parameters of type Type | |
---|---|
void |
StructType.addField(java.lang.String fieldName,
Type type)
Adds a new field as a data member to this StructType. |
void |
Function.addParameter(java.lang.String name,
Type type)
Adds a parameter to this function. |
static LvalExpression |
Function.addTempLocalVar(java.lang.String name,
Type type)
Adds a temporary local varivable as single bit LvalExpression from a given varname and type and returns the LvalExpression that hold the whole (original) variable. |
static void |
Function.addVar(java.lang.String name,
Type type)
Adds a local variable that was defined to this function. |
void |
UniqueVariables.addVar(java.lang.String name,
Type type,
boolean isParameter,
boolean isOutput)
|
static void |
Type.defineName(java.lang.String newTypeName,
Type newType)
Associates the specified newTypeName with the specified newType. |
Constructors in SFE.Compiler with parameters of type Type | |
---|---|
ArrayType(Type type,
int length)
Constructs a new ArrayType object from a given length and base type. |
|
Function(java.lang.String name,
Type returnType)
Constructs a new Function from a given name, returned type |
|
Variable(java.lang.String name,
Type type)
Constructs a new variable object of a given name and type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |