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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccScanner
public AccScanner(Reader input,
String streamName,
Set blockKeywords)
AccScanner
public AccScanner(String streamName,
Set blockKeywords)
throws IOException
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