org.acplt.oncrpc.apps.jrpcgen.cup_runtime
Interface Scanner
- All Known Implementing Classes:
- JrpcgenScanner
public interface Scanner
Defines the Scanner interface, which CUP uses in the default
implementation of lr_parser.scan()
. Integration
of scanners implementing Scanner
is facilitated.
Method Summary |
Symbol |
next_token()
Return the next token, or null on end-of-file. |
next_token
Symbol next_token()
throws java.lang.Exception
- Return the next token, or
null
on end-of-file.
- Throws:
java.lang.Exception