org.yecht

Interface DefaultYAMLParser.yyInput

public interface DefaultYAMLParser.yyInput

must be implemented by a scanner object to supply input to the parser. Nested for convenience, does not depend on parser class.
Method Summary
booleanadvance()
move on to next token.
inttoken()
classifies current token.
Objectvalue()
associated with current token.

Method Detail

advance

public boolean advance()
move on to next token.

Returns: false if positioned beyond tokens.

Throws: IOException on input error.

token

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

Returns: current %token or single character.

value

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

Returns: value for token.