org.argouml.uml.reveng.java
Class ArgoToken

java.lang.Object
  |
  +--antlr.Token
        |
        +--antlr.CommonToken
              |
              +--org.argouml.uml.reveng.java.ArgoToken
All Implemented Interfaces:
java.lang.Cloneable

public class ArgoToken
extends antlr.CommonToken

This is a special token class for Argo that store its preceding whitespaces.


Fields inherited from class antlr.CommonToken
col, line, text
 
Fields inherited from class antlr.Token
badToken, EOF_TYPE, INVALID_TYPE, MIN_USER_TYPE, NULL_TREE_LOOKAHEAD, SKIP
 
Constructor Summary
ArgoToken()
           
 
Method Summary
 java.lang.String getWhitespace()
          Get the whitespace of this token.
 void setWhitespace(java.lang.String ws)
          Set the whitespaces for this token.
 
Methods inherited from class antlr.CommonToken
getColumn, getLine, getText, setColumn, setLine, setText, toString
 
Methods inherited from class antlr.Token
getFilename, getType, setFilename, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArgoToken

public ArgoToken()
Method Detail

setWhitespace

public void setWhitespace(java.lang.String ws)
Set the whitespaces for this token.
Parameters:
ws - The whitespaces for the buffer.

getWhitespace

public java.lang.String getWhitespace()
Get the whitespace of this token.
Returns:
The whitespaces of this token.


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook