public class BytecodeScanner extends java.lang.Object implements DefaultYAMLParser.yyInput
Modifier and Type | Class and Description |
---|---|
private static class |
BytecodeScanner.QuotedString |
Modifier and Type | Field and Description |
---|---|
private static int |
Comment |
private int |
currentToken |
private static int |
Directive |
private static int |
Document |
private java.lang.Object |
lval |
private Parser |
parser |
static int |
QUOTELEN |
private static int |
Scalar |
private static int |
Scalar2 |
private static int |
ScalarEnd |
private static int |
Start |
Constructor and Description |
---|
BytecodeScanner(Parser parser) |
Modifier and Type | Method and Description |
---|---|
private boolean |
ADD_BYTE_LEVEL(Level lvl,
int len,
LevelStatus s) |
boolean |
advance()
move on to next token.
|
private void |
CHK_NL(int ptr) |
private void |
FORCE_NEXT_TOKEN(int n) |
private java.lang.String |
getInline() |
private int |
real_yylex() |
int |
token()
classifies current token.
|
java.lang.Object |
value()
associated with current token.
|
private void |
YYPOS(int n) |
public static final int QUOTELEN
private Parser parser
private java.lang.Object lval
private int currentToken
private static final int Start
private static final int Document
private static final int Directive
private static final int Comment
private static final int Scalar
private static final int Scalar2
private static final int ScalarEnd
public BytecodeScanner(Parser parser)
public java.lang.Object value()
DefaultYAMLParser.yyInput
DefaultYAMLParser.yyInput.advance()
returned false.value
in interface DefaultYAMLParser.yyInput
DefaultYAMLParser.yyInput.token()
.public int token()
DefaultYAMLParser.yyInput
DefaultYAMLParser.yyInput.advance()
returned false.token
in interface DefaultYAMLParser.yyInput
public boolean advance() throws java.io.IOException
DefaultYAMLParser.yyInput
advance
in interface DefaultYAMLParser.yyInput
IOException
- on input error.private void YYPOS(int n)
private void FORCE_NEXT_TOKEN(int n)
private void CHK_NL(int ptr)
private boolean ADD_BYTE_LEVEL(Level lvl, int len, LevelStatus s)
private int real_yylex() throws java.io.IOException
java.io.IOException
private java.lang.String getInline() throws java.io.IOException
java.io.IOException