Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Range Class Reference

Inheritance diagram for Range:
[legend]
Collaboration diagram for Range:
[legend]
List of all members.

Public Methods

 Range ()
 Range (int lo, int hi)
 Range (ConstExpr fromVal, ConstExpr toVal)
void apply (TypeSwitch sw, Object o)
boolean containsValue (Object value)
Expr defaultVal ()
boolean equals (Object o)
int getFirstElement ()
ConstExpr getFromVal ()
int getRangeSize ()
ConstExpr getToVal ()
boolean isKind (int kind)
boolean isSubtypeOf (Type type)
String toString ()

Private Attributes

int rangeSize = 0
int firstElement = 0
ConstExpr fromVal
ConstExpr toVal

Detailed Description

A range type.

Definition at line 44 of file Range.java.


Member Function Documentation

boolean Range::equals Object   o [inline]
 

Returns:
boolean
Parameters:
otherType   java.lang.Object

Reimplemented from Type.

Definition at line 87 of file Range.java.

String Range::toString   [inline]
 

Returns:
Type string, e.g. `int[]'

Reimplemented from Type.

Definition at line 105 of file Range.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:21:00 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001