org.hibernate.tool.ide.completion
Class AntlrSimpleHQLLexer

java.lang.Object
  extended by org.hibernate.tool.ide.completion.AntlrSimpleHQLLexer
All Implemented Interfaces:
SimpleHQLLexer

public class AntlrSimpleHQLLexer
extends Object
implements SimpleHQLLexer

A lexer implemented on top of the Antlr grammer implemented in core.

Author:
Max Rydahl Andersen

Constructor Summary
AntlrSimpleHQLLexer(char[] cs, int length)
           
 
Method Summary
 int getTokenLength()
           
 int getTokenOffset()
           
 int nextTokenId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntlrSimpleHQLLexer

public AntlrSimpleHQLLexer(char[] cs,
                           int length)
Method Detail

getTokenLength

public int getTokenLength()
Specified by:
getTokenLength in interface SimpleHQLLexer

getTokenOffset

public int getTokenOffset()
Specified by:
getTokenOffset in interface SimpleHQLLexer

nextTokenId

public int nextTokenId()
Specified by:
nextTokenId in interface SimpleHQLLexer