SFE.Compiler
Class BooleanType

java.lang.Object
  extended by SFE.Compiler.Type
      extended by SFE.Compiler.BooleanType

public class BooleanType
extends Type

A class representing the boolean primitive type that can be defined in the program.


Constructor Summary
BooleanType()
           
 
Method Summary
 int size()
          Returns the length of the this Boolean type in bits, which is 1.
 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

BooleanType

public BooleanType()
Method Detail

size

public int size()
Returns the length of the this Boolean type in bits, which is 1.

Specified by:
size in class Type
Returns:
the length of the this Int type in bits.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.

toFormat

public java.lang.String toFormat()
Returns a string representation of the object for the format file.

Specified by:
toFormat in class Type
Returns:
a string representation of the object for the format file.