Package org.yecht
Class BytecodeScanner
java.lang.Object
org.yecht.BytecodeScanner
- All Implemented Interfaces:
DefaultYAMLParser.yyInput
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate 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 String
private int
int
token()
classifies current token.value()
associated with current token.private void
YYPOS
(int n)
-
Field Details
-
QUOTELEN
public static final int QUOTELEN- See Also:
-
parser
-
lval
-
currentToken
private int currentToken -
Start
private static final int Start- See Also:
-
Document
private static final int Document- See Also:
-
Directive
private static final int Directive- See Also:
-
Comment
private static final int Comment- See Also:
-
Scalar
private static final int Scalar- See Also:
-
Scalar2
private static final int Scalar2- See Also:
-
ScalarEnd
private static final int ScalarEnd- See Also:
-
-
Constructor Details
-
BytecodeScanner
-
-
Method Details
-
value
Description copied from interface:DefaultYAMLParser.yyInput
associated with current token. Should not be called ifDefaultYAMLParser.yyInput.advance()
returned false.- Specified by:
value
in interfaceDefaultYAMLParser.yyInput
- Returns:
- value for
DefaultYAMLParser.yyInput.token()
.
-
token
public int token()Description copied from interface:DefaultYAMLParser.yyInput
classifies current token. Should not be called ifDefaultYAMLParser.yyInput.advance()
returned false.- Specified by:
token
in interfaceDefaultYAMLParser.yyInput
- Returns:
- current %token or single character.
-
advance
Description copied from interface:DefaultYAMLParser.yyInput
move on to next token.- Specified by:
advance
in interfaceDefaultYAMLParser.yyInput
- Returns:
- false if positioned beyond tokens.
- Throws:
IOException
-
YYPOS
private void YYPOS(int n) -
FORCE_NEXT_TOKEN
private void FORCE_NEXT_TOKEN(int n) -
CHK_NL
private void CHK_NL(int ptr) -
ADD_BYTE_LEVEL
-
real_yylex
- Throws:
IOException
-
getInline
- Throws:
IOException
-