net.cscott.sdr.calls.parser
Class CallFileLexer.IndentProcessor
java.lang.Object
net.cscott.sdr.calls.parser.CallFileLexer.IndentProcessor
- All Implemented Interfaces:
- org.antlr.runtime.TokenSource
- Enclosing class:
- CallFileLexer
public static class CallFileLexer.IndentProcessor
- extends Object
- implements org.antlr.runtime.TokenSource
Inner class: a token stream filter to implement
INDENT/DEDENT processing.
Field Summary |
boolean |
disabled
Set to true to disable the IndentProcessor. |
protected org.antlr.runtime.TokenSource |
input
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected org.antlr.runtime.TokenSource input
disabled
public boolean disabled
- Set to true to disable the IndentProcessor.
CallFileLexer.IndentProcessor
public CallFileLexer.IndentProcessor(org.antlr.runtime.TokenSource in)
- Stream to read tokens from
getSourceName
public String getSourceName()
- Specified by:
getSourceName
in interface org.antlr.runtime.TokenSource
nextToken
public org.antlr.runtime.Token nextToken()
- This makes us a
TokenSource
.
- Specified by:
nextToken
in interface org.antlr.runtime.TokenSource
Copyright © 2006-2009 C. Scott Ananian