org.objectweb.jac.core.parsers.acc
Class AccScanner

java.lang.Object
  |
  +--org.objectweb.jac.core.parsers.acc.AccScanner
All Implemented Interfaces:
java_cup.runtime.Scanner

public class AccScanner
extends Object
implements java_cup.runtime.Scanner


Constructor Summary
AccScanner(Reader input, String streamName, Set blockKeywords)
           
AccScanner(String streamName, Set blockKeywords)
           
 
Method Summary
 String getLine()
          Return the current line number
protected  boolean isEof(int c)
           
 java_cup.runtime.Symbol next_token()
           
 void printState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccScanner

public AccScanner(Reader input,
                  String streamName,
                  Set blockKeywords)

AccScanner

public AccScanner(String streamName,
                  Set blockKeywords)
           throws IOException
Method Detail

printState

public void printState()

isEof

protected boolean isEof(int c)

next_token

public java_cup.runtime.Symbol next_token()
                                   throws Exception
Specified by:
next_token in interface java_cup.runtime.Scanner
Exception

getLine

public String getLine()
Return the current line number