xdc.services.spec
Class Atom

java.lang.Object
  extended by org.antlr.runtime.CommonToken
      extended by xdc.services.spec.Atom
All Implemented Interfaces:
java.io.Serializable, org.antlr.runtime.Token

public class Atom
extends org.antlr.runtime.CommonToken
implements java.io.Serializable

The class that represents a token in a specification file.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.antlr.runtime.CommonToken
channel, charPositionInLine, index, input, start, stop, 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
 
Method Summary
 java.lang.String getFile()
           
 int getLine()
           
 java.lang.String getText()
           
 
Methods inherited from class org.antlr.runtime.CommonToken
getChannel, getCharPositionInLine, getInputStream, getStartIndex, getStopIndex, getTokenIndex, getType, setChannel, setCharPositionInLine, setInputStream, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFile

public java.lang.String getFile()

getLine

public int getLine()
Specified by:
getLine in interface org.antlr.runtime.Token
Overrides:
getLine in class org.antlr.runtime.CommonToken

getText

public java.lang.String getText()
Specified by:
getText in interface org.antlr.runtime.Token
Overrides:
getText in class org.antlr.runtime.CommonToken