scanner.java

来自「java1.6众多例子参考」· Java 代码 · 共 22 行

JAVA
22
字号
package com.sun.java_cup.internal.runtime;/** * Defines the Scanner interface, which CUP uses in the default * implementation of <code>lr_parser.scan()</code>.  Integration * of scanners implementing <code>Scanner</code> is facilitated. * * @version last updated 23-Jul-1999 * @author David MacMahon <davidm@smartsc.com> *//* *************************************************  Interface Scanner    Declares the next_token() method that should be  implemented by scanners.  This method is typically  called by lr_parser.scan(). ***************************************************/public interface Scanner {    public Symbol next_token() throws java.lang.Exception;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?