org.yecht
Class TokenScanner
java.lang.Object
org.yecht.TokenScanner
- All Implemented Interfaces:
- DefaultYAMLParser.yyInput
public class TokenScanner
- extends Object
- implements DefaultYAMLParser.yyInput
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUOTELEN
public static final int QUOTELEN
- See Also:
- Constant Field Values
tnames
public static final String[] tnames
TokenScanner
public TokenScanner(Parser parser)
error
public static void error(String msg,
Parser parser)
createScanner
public static DefaultYAMLParser.yyInput createScanner(Parser parser)
value
public Object value()
- Description copied from interface:
DefaultYAMLParser.yyInput
- associated with current token.
Should not be called if
DefaultYAMLParser.yyInput.advance() returned false.
- Specified by:
value in interface DefaultYAMLParser.yyInput
- Returns:
- value for
DefaultYAMLParser.yyInput.token().
token
public int token()
- Description copied from interface:
DefaultYAMLParser.yyInput
- classifies current token.
Should not be called if
DefaultYAMLParser.yyInput.advance() returned false.
- Specified by:
token in interface DefaultYAMLParser.yyInput
- Returns:
- current %token or single character.
advance
public boolean advance()
throws IOException
- Description copied from interface:
DefaultYAMLParser.yyInput
- move on to next token.
- Specified by:
advance in interface DefaultYAMLParser.yyInput
- Returns:
- false if positioned beyond tokens.
- Throws:
IOException - on input error.
RETURN_IMPLICIT
public void RETURN_IMPLICIT(org.yecht.TokenScanner.QuotedString q)
Copyright © 2013. All Rights Reserved.