|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.Compiler.Type
SFE.Compiler.IntType
public class IntType
A class representing the integer primitive type of an arbitrary length. An object of type Int contains a single field whose type is int and represents the int's length. An Int type of one bit is actualy a boolean variable.
Constructor Summary | |
---|---|
IntType(int length)
Constructs an IntType object of a given length. |
Method Summary | |
---|---|
int |
size()
Returns the length of this Int type in bits. |
java.lang.String |
toFormat()
Returns a string representation of the object for the format file. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class SFE.Compiler.Type |
---|
defineName, fromName, getDerivedLvalues, hasDerives |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IntType(int length)
length
- the Int type length.Method Detail |
---|
public int size()
size
in class Type
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFormat()
toFormat
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |