org.globus.cog.karajan.parser
Interface Lexer

All Known Implementing Classes:
SimpleLexer

public interface Lexer


Method Summary
 String currentLine()
           
 int getLineNumber()
           
 boolean hasMoreChars()
           
 boolean hasMoreTokens()
           
 boolean isDigits()
           
 boolean isWhitespace()
           
 Object mark()
           
 char nextChar()
           
 String nextToken()
           
 char peekChar()
           
 char peekNextChar()
           
 String peekToken()
           
 void reset(Object mark)
           
 void skipChar()
           
 

Method Detail

hasMoreTokens

public boolean hasMoreTokens()

hasMoreChars

public boolean hasMoreChars()

nextToken

public String nextToken()

nextChar

public char nextChar()

skipChar

public void skipChar()

peekToken

public String peekToken()

peekChar

public char peekChar()

peekNextChar

public char peekNextChar()

isDigits

public boolean isDigits()

isWhitespace

public boolean isWhitespace()

currentLine

public String currentLine()

getLineNumber

public int getLineNumber()

mark

public Object mark()

reset

public void reset(Object mark)