java_cup.simple_calc

Class scanner

Implemented Interfaces:
Scanner

public class scanner
extends java.lang.Object
implements Scanner

Field Summary

protected int
next_char

Constructor Summary

scanner()
scanner(java.io.InputStream is)

Method Summary

protected void
advance()
Symbol
next_token()
Return the next token, or null on end-of-file.

Field Details

next_char

protected int next_char

Constructor Details

scanner

public scanner()
            throws java.io.IOException


scanner

public scanner(java.io.InputStream is)
            throws java.io.IOException

Method Details

advance

protected void advance()
            throws java.io.IOException


next_token

public Symbol next_token()
            throws java.io.IOException
Return the next token, or null on end-of-file.
Specified by:
next_token in interface Scanner