jruby/docs BETA
Navigation
org.jruby.parser 23
C ArgsTailHolder
C JavaSignatureParser
C NodeExits
C Parser
C ParserConfiguration
C ParserManager
I ParserProvider
C ParserProviderDefault
C ParserServiceLoader
I ParserState
C ParserSyntaxException
E ParserType
C ProductionState
I ReOptions
C RubyParser
C RubyParserBase
C RubyParserResult
C ScopedParserState
C StaticScope
C StaticScopeFactory
C TokenInfo
C YYDebug
C YyTables
JavaSignatureParser — members 56
F BOOLEAN() int
F BYTE() int
F SHORT() int
F INT() int
F LONG() int
F CHAR() int
F FLOAT() int
F DOUBLE() int
F VOID() int
F PUBLIC() int
F PROTECTED() int
F PRIVATE() int
F STATIC() int
F ABSTRACT() int
F FINAL() int
F NATIVE() int
F SYNCHRONIZED() int
F TRANSIENT() int
F VOLATILE() int
F STRICTFP() int
F IDENTIFIER() int
F AND() int
F AT() int
F DOT() int
F COMMA() int
F ELLIPSIS() int
F EQUAL() int
F LCURLY() int
F RCURLY() int
F LPAREN() int
F RPAREN() int
F LBRACK() int
F RBRACK() int
F QUESTION() int
F LT() int
F GT() int
F THROWS() int
F EXTENDS() int
F SUPER() int
F RSHIFT() int
F URSHIFT() int
F QQ() int
F Q() int
F CHARACTER_LITERAL() int
F STRING_LITERAL() int
F TRUE_LITERAL() int
F FALSE_LITERAL() int
F NUM_LITERAL() int
F HEXNUM_LITERAL() int
F yyErrorCode() int
C new()
M parse(in) SignatureNode
C yyerror(message)
C yyerror(message, expected, found)
M yyparse(yy_lex, ayydebug) Object
M yyparse(yy_lex) Object

org.jruby.parser.JavaSignatureParser

class 56 members

Constants

constanttypenote
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
QQ int
Q int
CHARACTER_LITERAL int
STRING_LITERAL int
TRUE_LITERAL int
FALSE_LITERAL int
NUM_LITERAL int
HEXNUM_LITERAL int
yyErrorCode int

Constructors

new

new ( )
Java: <init>()

Class Methods

parse

SignatureNode parse ( InputStream in )
Java: parse(java.io.InputStream in)

Instance Methods

yyerror

yyerror ( String message )
Java: yyerror(String message)

simplified error message.

yyerror

yyerror ( String message, String[] expected, String found )
Java: yyerror(String message, String[] expected, String found)

(syntax) error message. Can be overwritten to control message format.

nametypedescription
messageStringtext to be displayed.
expectedString[]list of acceptable tokens, if available.

yyparse

Object yyparse ( JavaSignatureLexer yy_lex, Object ayydebug )
Java: yyparse(org.jruby.lexer.JavaSignatureLexer yyLex, Object ayydebug)

the generated parser, with debugging messages. Maintains a dynamic state and value stack.

nametypedescription
yy_lexorg.jruby.lexer.JavaSignatureLexerscanner.
ayydebugObjectdebug message writer implementing yyDebug, or null.

Returns: result of the last reduction, if any.

Throws

ParserSyntaxException on irrecoverable parse error.

yyparse

Object yyparse ( JavaSignatureLexer yy_lex )
Java: yyparse(org.jruby.lexer.JavaSignatureLexer yyLex)

the generated parser. Maintains a dynamic state and value stack.

nametypedescription
yy_lexorg.jruby.lexer.JavaSignatureLexerscanner.

Returns: result of the last reduction, if any.

Throws

ParserSyntaxException on irrecoverable parse error.