| constant | type | note |
|---|---|---|
| BOOLEAN | int | |
| BYTE | int | |
| SHORT | int | |
| INT | int | |
| LONG | int | |
| CHAR | int | |
| FLOAT | int | |
| DOUBLE | int | |
| VOID | int | |
| PUBLIC | int | |
| PROTECTED | int | |
| PRIVATE | int | |
| STATIC | int | |
| ABSTRACT | int | |
| FINAL | int | |
| NATIVE | int | |
| SYNCHRONIZED | int | |
| TRANSIENT | int | |
| VOLATILE | int | |
| STRICTFP | int | |
| IDENTIFIER | int | |
| AND | int | |
| AT | int | |
| DOT | int | |
| COMMA | int | |
| ELLIPSIS | int | |
| EQUAL | int | |
| LCURLY | int | |
| RCURLY | int | |
| LPAREN | int | |
| RPAREN | int | |
| LBRACK | int | |
| RBRACK | int | |
| QUESTION | int | |
| LT | int | |
| GT | int | |
| THROWS | int | |
| EXTENDS | int | |
| SUPER | int | |
| RSHIFT | int | |
| URSHIFT | int | |
| int | ||
| Q | int | |
| CHARACTER_LITERAL | int | |
| STRING_LITERAL | int | |
| TRUE_LITERAL | int | |
| FALSE_LITERAL | int | |
| NUM_LITERAL | int | |
| HEXNUM_LITERAL | int | |
| yyErrorCode | int |
<init>()yyerror(String message)simplified error message.
yyerror(String message, String[] expected, String found)(syntax) error message. Can be overwritten to control message format.
| name | type | description |
|---|---|---|
| message | String | text to be displayed. |
| expected | String[] | list of acceptable tokens, if available. |
yyparse(org.jruby.lexer.JavaSignatureLexer yyLex, Object ayydebug)the generated parser, with debugging messages. Maintains a dynamic state and value stack.
| name | type | description |
|---|---|---|
| yy_lex | org.jruby.lexer.JavaSignatureLexer | scanner. |
| ayydebug | Object | debug message writer implementing yyDebug, or null. |
Returns: result of the last reduction, if any.
| ParserSyntaxException | on irrecoverable parse error. | |
yyparse(org.jruby.lexer.JavaSignatureLexer yyLex)the generated parser. Maintains a dynamic state and value stack.
| name | type | description |
|---|---|---|
| yy_lex | org.jruby.lexer.JavaSignatureLexer | scanner. |
Returns: result of the last reduction, if any.
| ParserSyntaxException | on irrecoverable parse error. | |