org.codehaus.groovy.syntax.lexer
Class Lexer

java.lang.Object
  |
  +--org.codehaus.groovy.syntax.lexer.Lexer

public class Lexer
extends Object


Constructor Summary
Lexer(org.codehaus.groovy.syntax.lexer.CharStream charStream)
           
 
Method Summary
protected  char consume()
           
protected  void eol()
           
 org.codehaus.groovy.syntax.lexer.CharStream getCharStream()
           
protected  int getStartColumn()
           
protected  int getStartLine()
           
protected  char la()
           
protected  char la(int k)
           
protected  void mark()
           
 org.codehaus.groovy.syntax.Token nextToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexer

public Lexer(org.codehaus.groovy.syntax.lexer.CharStream charStream)
Method Detail

getCharStream

public org.codehaus.groovy.syntax.lexer.CharStream getCharStream()

nextToken

public org.codehaus.groovy.syntax.Token nextToken()
                                           throws IOException,
                                                  LexerException
IOException
LexerException

eol

protected void eol()

mark

protected void mark()

getStartLine

protected int getStartLine()

getStartColumn

protected int getStartColumn()

la

protected char la()
           throws IOException
IOException

la

protected char la(int k)
           throws IOException
IOException

consume

protected char consume()
                throws IOException
IOException


Copyright © 2003 The Codehaus. All Rights Reserved.