org.codehaus.groovy.syntax.lexer
Class LexerTokenStream
java.lang.Object
org.codehaus.groovy.syntax.AbstractTokenStream
org.codehaus.groovy.syntax.lexer.LexerTokenStream
- All Implemented Interfaces:
- TokenStream
- public class LexerTokenStream
- extends AbstractTokenStream
Implements a TokenStream
on a Lexer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LexerTokenStream
public LexerTokenStream(Lexer lexer)
- Initializes the
LexerTokenStream
.
getLexer
public Lexer getLexer()
- Returns the underlying
Lexer
.
nextToken
public Token nextToken()
throws ReadException,
SyntaxException
- Returns the next token from the
Lexer
.
- Specified by:
nextToken
in class AbstractTokenStream
- Throws:
ReadException
SyntaxException
Copyright © 2003-2005 The Codehaus. All Rights Reserved.