com.espertech.esper.antlr
Class NoCaseSensitiveStream

java.lang.Object
  extended by org.antlr.runtime.ANTLRStringStream
      extended by org.antlr.runtime.ANTLRReaderStream
          extended by com.espertech.esper.antlr.NoCaseSensitiveStream
All Implemented Interfaces:
org.antlr.runtime.CharStream, org.antlr.runtime.IntStream

public class NoCaseSensitiveStream
extends org.antlr.runtime.ANTLRReaderStream

For use with ANTLR to create a case-insensitive token stream.


Field Summary
 
Fields inherited from class org.antlr.runtime.ANTLRReaderStream
INITIAL_BUFFER_SIZE, READ_BUFFER_SIZE
 
Fields inherited from class org.antlr.runtime.ANTLRStringStream
charPositionInLine, data, lastMarker, line, markDepth, markers, n, p
 
Fields inherited from interface org.antlr.runtime.CharStream
EOF
 
Constructor Summary
NoCaseSensitiveStream(Reader reader)
          Ctor.
 
Method Summary
 int LA(int i)
           
 
Methods inherited from class org.antlr.runtime.ANTLRReaderStream
load
 
Methods inherited from class org.antlr.runtime.ANTLRStringStream
consume, getCharPositionInLine, getLine, index, LT, mark, release, reset, rewind, rewind, seek, setCharPositionInLine, setLine, size, substring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoCaseSensitiveStream

public NoCaseSensitiveStream(Reader reader)
                      throws IOException
Ctor.

Parameters:
reader - is the reader providing the characters to inspect
Throws:
IOException - to indicate IO errors
Method Detail

LA

public int LA(int i)
Specified by:
LA in interface org.antlr.runtime.IntStream
Overrides:
LA in class org.antlr.runtime.ANTLRStringStream

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com