org.jacaranda.verifier
Class JacarandaToken

java.lang.Object
  extended by org.antlr.runtime.CommonToken
      extended by org.jacaranda.verifier.JacarandaToken
All Implemented Interfaces:
java.io.Serializable, org.antlr.runtime.Token

public class JacarandaToken
extends org.antlr.runtime.CommonToken

An extension of CommonToken that holds lexer attribute values specific to Jacaranda.

See Also:
Serialized Form

Field Summary
 int column
           
 java.lang.String flags
           
 java.lang.String originalText
           
 java.lang.String SV
           
static int UNKNOWN_COLUMN
           
 
Fields inherited from class org.antlr.runtime.CommonToken
channel, charPositionInLine, index, input, line, start, stop, text, type
 
Fields inherited from interface org.antlr.runtime.Token
DEFAULT_CHANNEL, DOWN, EOF, EOF_TOKEN, EOR_TOKEN_TYPE, HIDDEN_CHANNEL, INVALID_TOKEN, INVALID_TOKEN_TYPE, MIN_TOKEN_TYPE, SKIP_TOKEN, UP
 
Constructor Summary
JacarandaToken(org.antlr.runtime.CharStream input, int type, int channel, int start, int stop)
           
JacarandaToken(int tokenType, java.lang.String text)
           
JacarandaToken(org.antlr.runtime.Token fromToken)
           
 
Method Summary
 int getColumn()
           
 java.lang.String getOriginalText()
           
 void rewrite(java.lang.String rewrittenText)
           
 void setColumn(int col)
           
 void setPositionFrom(org.antlr.runtime.Token other)
           
 java.lang.String toString()
           
 
Methods inherited from class org.antlr.runtime.CommonToken
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getType, setChannel, setCharPositionInLine, setInputStream, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN_COLUMN

public static final int UNKNOWN_COLUMN
See Also:
Constant Field Values

originalText

public java.lang.String originalText

SV

public java.lang.String SV

flags

public java.lang.String flags

column

public int column
Constructor Detail

JacarandaToken

public JacarandaToken(org.antlr.runtime.CharStream input,
                      int type,
                      int channel,
                      int start,
                      int stop)

JacarandaToken

public JacarandaToken(int tokenType,
                      java.lang.String text)

JacarandaToken

public JacarandaToken(org.antlr.runtime.Token fromToken)
Method Detail

rewrite

public void rewrite(java.lang.String rewrittenText)

getOriginalText

public java.lang.String getOriginalText()

setPositionFrom

public void setPositionFrom(org.antlr.runtime.Token other)

setColumn

public void setColumn(int col)

getColumn

public int getColumn()

toString

public java.lang.String toString()
Overrides:
toString in class org.antlr.runtime.CommonToken