Interface Scanner

All Known Implementing Classes:
ScannerImpl

public interface Scanner
This interface represents an input stream of Tokens.

The parser and the scanner form together the 'Parse' step in the loading process (see chapter 3.1 of the YAML Specification).

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkToken(Token.ID... choices)
    Check if the next token is one of the given types.
    Returns the next token.
    Return the next token, but do not delete it from the stream.