JML

org.multijava.util.compiler
Class Phylum

java.lang.Object
  extended byorg.multijava.util.Utils
      extended byorg.multijava.util.compiler.Phylum
All Implemented Interfaces:
Cloneable, PhylumType
Direct Known Subclasses:
JPhylum

public abstract class Phylum
extends Utils
implements PhylumType, Cloneable

This class represents the root class for all elements of the parsing tree


Field Summary
private  TokenReference where
           
 
Fields inherited from class org.multijava.util.Utils
DBG_LEVEL_HIGH, DBG_LEVEL_LOW, DBG_LEVEL_NO
 
Constructor Summary
Phylum(TokenReference where)
          construct an element of the parsing tree
 
Method Summary
 TokenReference getTokenReference()
          Returns the token reference of this node in the source text.
 void setTokenReference(TokenReference where)
          Change the token reference of this node
 
Methods inherited from class org.multijava.util.Utils
assertTrue, assertTrue, combineArrays, escapeString, escapeString, fail, fail, getFilePath, hasFlag, hasOtherFlags, parsePathParts, relativePathTo, splitQualifiedName, splitQualifiedName, stripJavaModifiers, stripNonJavaModifiers, stripPrivateModifier, unescapeString, vectorToArray, vectorToIntArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

where

private TokenReference where
Constructor Detail

Phylum

public Phylum(TokenReference where)
construct an element of the parsing tree

Parameters:
where - the token reference of this node
Method Detail

getTokenReference

public TokenReference getTokenReference()
Returns the token reference of this node in the source text.

Specified by:
getTokenReference in interface PhylumType
Returns:
the entire token reference

setTokenReference

public void setTokenReference(TokenReference where)
Change the token reference of this node

Specified by:
setTokenReference in interface PhylumType
Parameters:
where - the new token reference

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.