java_cup.simple_calc
Class scanner
java.lang.Object
java_cup.simple_calc.scanner
- All Implemented Interfaces:
- Scanner
- public class scanner
- extends java.lang.Object
- implements Scanner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instream
final java.io.InputStream instream
next_char
protected int next_char
scanner
public scanner(java.io.InputStream is)
throws java.io.IOException
scanner
public scanner()
throws java.io.IOException
advance
protected void advance()
throws java.io.IOException
- Throws:
java.io.IOException
init
private void init()
throws java.io.IOException
- Throws:
java.io.IOException
next_token
public Symbol next_token()
throws java.io.IOException
- Description copied from interface:
Scanner
- Return the next token, or
null
on end-of-file.
- Specified by:
next_token
in interface Scanner
- Throws:
java.io.IOException