|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfrysk.value.Type
frysk.value.VolatileType
public class VolatileType
Type decorator class, so that a base or composite type can be decorated with various attributes.
| Constructor Summary | |
|---|---|
VolatileType(Type decorated)
|
|
| Method Summary | |
|---|---|
int |
getSize()
|
Type |
getUltimateType()
Return the ultimate type (ignoring any decorator and other attributes). |
Value |
index(Value var1,
Value var2,
ByteBuffer taskMem)
Implements subscript operation for a pointer or array type. |
Value |
member(Value var1,
String member)
Implements dot operation on a composite type. |
Type |
pack(int bitSize,
int bitOffset)
Pack this TYPE into bigSize and bitOffset. |
Value |
slice(Value var1,
Value var2,
Value var3,
ByteBuffer taskMem)
Implements slice operation for a pointer or array type - slice the array from index I to index J. |
void |
toPrint(StringBuilder stringBuilder,
int indent)
A guess; sub classes should override. |
void |
toPrintBrief(StringBuilder stringBuilder,
int indent)
Print this Type, possibly briefly, after indenting INDENT spaces. |
String |
toString()
For debugging and tracing; just dump the Type's name. |
| Methods inherited from class frysk.value.Type |
|---|
addressOf, completeFollowSym, completeMember, dereference, getALU, getALU, getALU, getALU, getALU, getALU, getName, getSliceType, getType, toPrint |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VolatileType(Type decorated)
| Method Detail |
|---|
public String toString()
Type
toString in class Typepublic Type getUltimateType()
Type
getUltimateType in class Typepublic int getSize()
getSize in class Type
public void toPrint(StringBuilder stringBuilder,
int indent)
toPrint in class TypestringBuilder - TODO
public void toPrintBrief(StringBuilder stringBuilder,
int indent)
Type
toPrintBrief in class TypestringBuilder - TODO
public Type pack(int bitSize,
int bitOffset)
Type
pack in class Type
public Value member(Value var1,
String member)
Type
member in class Type
public Value index(Value var1,
Value var2,
ByteBuffer taskMem)
Type
index in class Type
public Value slice(Value var1,
Value var2,
Value var3,
ByteBuffer taskMem)
Type
slice in class Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||