org.multijava.util.compiler
Class Phylum
java.lang.Object
org.multijava.util.Utils
org.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
| 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 |
where
private TokenReference where
Phylum
public Phylum(TokenReference where)
- construct an element of the parsing tree
- Parameters:
where - the token reference of this node
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 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.