org.comedia.util.scanner
Class CScanner.Lexem

java.lang.Object
  |
  +--org.comedia.util.scanner.CScanner.Lexem
Enclosing class:
CScanner

protected class CScanner.Lexem
extends java.lang.Object

Presents extracted token with information about token type and position in input stream. This class is used as "Holder" to pass parameter by reference into methods of class.


Field Summary
 int lineNo
          Line number in teh input stream where token is started.
 int position
          Position in the input stream of the first token character.
 java.lang.String token
          Token string value.
 int tokenType
          Token type value contained special constant.
 
Constructor Summary
protected CScanner.Lexem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

public java.lang.String token
Token string value.

tokenType

public int tokenType
Token type value contained special constant.

position

public int position
Position in the input stream of the first token character.

lineNo

public int lineNo
Line number in teh input stream where token is started.
Constructor Detail

CScanner.Lexem

protected CScanner.Lexem()