sdr 0.7

net.cscott.sdr.calls.parser
Class CallFileLexer.IndentProcessor

java.lang.Object
  extended by 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
           
 
Constructor Summary
CallFileLexer.IndentProcessor(org.antlr.runtime.TokenSource in)
          Stream to read tokens from
 
Method Summary
 String getSourceName()
           
 org.antlr.runtime.Token nextToken()
          This makes us a TokenSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

protected org.antlr.runtime.TokenSource input

disabled

public boolean disabled
Set to true to disable the IndentProcessor.

Constructor Detail

CallFileLexer.IndentProcessor

public CallFileLexer.IndentProcessor(org.antlr.runtime.TokenSource in)
Stream to read tokens from

Method Detail

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

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian