coins.ffront
インタフェース Parser.yyInput

既知の実装クラスの一覧:
Scanner
含まれているインタフェース:
Parser

public static interface Parser.yyInput

must be implemented by a scanner object to supply input to the parser.


メソッドの概要
 boolean advance()
          move on to next token.
 int token()
          classifies current token.
 java.lang.Object value()
          associated with current token.
 

メソッドの詳細

advance

public boolean advance()
                throws java.io.IOException
move on to next token.

戻り値:
false if positioned beyond tokens.
例外:
IOException - on input error.

token

public int token()
classifies current token. Should not be called if advance() returned false.

戻り値:
current %token or single character.

value

public java.lang.Object value()
associated with current token. Should not be called if advance() returned false.

戻り値:
value for token().