Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G I J L N P R S T U V _

A

action_tab - Variable in class java_cup.runtime.lr_parser
Direct reference to the action table.
action_table() - Method in class java_cup.runtime.lr_parser
The action table (supplied by generated subclass).
advance_lookahead() - Method in class java_cup.runtime.lr_parser
Advance to next "parse ahead" input Symbol.

C

cur_err_token() - Method in class java_cup.runtime.lr_parser
Return the current lookahead in our error "parse ahead" buffer.
cur_token - Variable in class java_cup.runtime.lr_parser
The current lookahead Symbol.

D

debug_message(String) - Method in class java_cup.runtime.lr_parser
Write a debugging message to System.err for the debugging version of the parser.
debug_parse() - Method in class java_cup.runtime.lr_parser
Perform a parse with debugging output.
debug_reduce(int, int, int) - Method in class java_cup.runtime.lr_parser
Do debug output for a reduce.
debug_shift(Symbol) - Method in class java_cup.runtime.lr_parser
Do debug output for shift.
debug_stack() - Method in class java_cup.runtime.lr_parser
Do debug output for stack state.
do_action(int, lr_parser, Stack, int) - Method in class java_cup.runtime.lr_parser
Perform a bit of user supplied action code (supplied by generated subclass).
done_parsing() - Method in class java_cup.runtime.lr_parser
This method is called to indicate that the parser should quit.
dump_stack() - Method in class java_cup.runtime.lr_parser
Dump the parse stack for debugging purposes.

E

EOF_sym() - Method in class java_cup.runtime.lr_parser
The index of the end of file terminal Symbol (supplied by generated subclass).
empty() - Method in class java_cup.runtime.virtual_parse_stack
Indicate whether the stack is empty.
error_recovery(boolean) - Method in class java_cup.runtime.lr_parser
Attempt to recover from a syntax error.
error_sym() - Method in class java_cup.runtime.lr_parser
The index of the special error Symbol (supplied by generated subclass).
error_sync_size() - Method in class java_cup.runtime.lr_parser
The number of Symbols after an error we much match to consider it recovered from.

F

find_recovery_config(boolean) - Method in class java_cup.runtime.lr_parser
Put the (real) parse stack into error recovery configuration by popping the stack down to a state that can shift on the special error Symbol, then doing the shift.

G

getScanner() - Method in class java_cup.runtime.lr_parser
Simple accessor method to get the default scanner.
get_action(int, int) - Method in class java_cup.runtime.lr_parser
Fetch an action from the action table.
get_from_real() - Method in class java_cup.runtime.virtual_parse_stack
Transfer an element from the real to the virtual stack.
get_reduce(int, int) - Method in class java_cup.runtime.lr_parser
Fetch a state from the reduce-goto table.

I

init_actions() - Method in class java_cup.runtime.lr_parser
Initialize the action object.

J

java_cup.runtime - package java_cup.runtime
 

L

left - Variable in class java_cup.runtime.Symbol
The data passed to parser
lookahead - Variable in class java_cup.runtime.lr_parser
Lookahead Symbols used for attempting error recovery "parse aheads".
lookahead_pos - Variable in class java_cup.runtime.lr_parser
Position in lookahead input buffer used for "parse ahead".
lr_parser - class java_cup.runtime.lr_parser.
This class implements a skeleton table driven LR parser.
lr_parser() - Constructor for class java_cup.runtime.lr_parser
Simple constructor.
lr_parser(Scanner) - Constructor for class java_cup.runtime.lr_parser
Constructor that sets the default scanner.

N

next_token() - Method in interface java_cup.runtime.Scanner
 

P

parse() - Method in class java_cup.runtime.lr_parser
This method provides the main parsing routine.
parse_lookahead(boolean) - Method in class java_cup.runtime.lr_parser
Parse forward using stored lookahead Symbols.
parse_state - Variable in class java_cup.runtime.Symbol
The parse state to be recorded on the parse stack with this symbol.
pop() - Method in class java_cup.runtime.virtual_parse_stack
Pop the stack.
production_tab - Variable in class java_cup.runtime.lr_parser
Direct reference to the production table.
production_table() - Method in class java_cup.runtime.lr_parser
Table of production information (supplied by generated subclass).
push(int) - Method in class java_cup.runtime.virtual_parse_stack
Push a state number onto the stack.

R

read_lookahead() - Method in class java_cup.runtime.lr_parser
Read from input to establish our buffer of "parse ahead" lookahead Symbols.
real_next - Variable in class java_cup.runtime.virtual_parse_stack
Top of stack indicator for where we leave off in the real stack.
real_stack - Variable in class java_cup.runtime.virtual_parse_stack
The real stack that we shadow.
reduce_tab - Variable in class java_cup.runtime.lr_parser
Direct reference to the reduce-goto table.
reduce_table() - Method in class java_cup.runtime.lr_parser
The reduce-goto table (supplied by generated subclass).
report_error(String, Object) - Method in class java_cup.runtime.lr_parser
Report a non fatal error (or warning).
report_fatal_error(String, Object) - Method in class java_cup.runtime.lr_parser
Report a fatal error.
restart_lookahead() - Method in class java_cup.runtime.lr_parser
Reset the parse ahead input to one Symbol past where we started error recovery (this consumes one new Symbol from the real input).
right - Variable in class java_cup.runtime.Symbol
The data passed to parser

S

Scanner - interface java_cup.runtime.Scanner.
Defines the Scanner interface, which CUP uses in the default implementation of lr_parser.scan().
Symbol - class java_cup.runtime.Symbol.
Defines the Symbol class, which is used to represent all terminals and nonterminals while parsing.
Symbol(int, int, int, Object) - Constructor for class java_cup.runtime.Symbol
Constructor for l,r values
Symbol(int, Object) - Constructor for class java_cup.runtime.Symbol
Constructor for no l,r values
Symbol(int, int, int) - Constructor for class java_cup.runtime.Symbol
Constructor for no value
Symbol(int) - Constructor for class java_cup.runtime.Symbol
Constructor for no value or l,r
Symbol(int, int) - Constructor for class java_cup.runtime.Symbol
Constructor to give a start state
scan() - Method in class java_cup.runtime.lr_parser
Get the next Symbol from the input (supplied by generated subclass).
setScanner(Scanner) - Method in class java_cup.runtime.lr_parser
Simple accessor method to set the default scanner.
shift_under_error() - Method in class java_cup.runtime.lr_parser
Determine if we can shift under the special error Symbol out of the state currently on the top of the (real) parse stack.
stack - Variable in class java_cup.runtime.lr_parser
The parse stack itself.
start_production() - Method in class java_cup.runtime.lr_parser
The index of the start production (supplied by generated subclass).
start_state() - Method in class java_cup.runtime.lr_parser
The index of the start state (supplied by generated subclass).
sym - Variable in class java_cup.runtime.Symbol
The symbol number of the terminal or non terminal being represented
syntax_error(Symbol) - Method in class java_cup.runtime.lr_parser
This method is called when a syntax error has been detected and recovery is about to be invoked.

T

toString() - Method in class java_cup.runtime.Symbol
Printing this token out.
top() - Method in class java_cup.runtime.virtual_parse_stack
Return value on the top of the stack (without popping it).
tos - Variable in class java_cup.runtime.lr_parser
Indication of the index for top of stack (for use by actions).
try_parse_ahead(boolean) - Method in class java_cup.runtime.lr_parser
Do a simulated parse forward (a "parse ahead") from the current stack configuration using stored lookahead input and a virtual parse stack.

U

unpackFromStrings(String[]) - Static method in class java_cup.runtime.lr_parser
Utility function: unpacks parse tables from strings
unrecovered_syntax_error(Symbol) - Method in class java_cup.runtime.lr_parser
This method is called if it is determined that syntax error recovery has been unsuccessful.
used_by_parser - Variable in class java_cup.runtime.Symbol
This allows us to catch some errors caused by scanners recycling symbols.
user_init() - Method in class java_cup.runtime.lr_parser
User code for initialization inside the parser.

V

value - Variable in class java_cup.runtime.Symbol
 
virtual_parse_stack - class java_cup.runtime.virtual_parse_stack.
This class implements a temporary or "virtual" parse stack that replaces the top portion of the actual parse stack (the part that has been changed by some set of operations) while maintaining its original contents.
virtual_parse_stack(Stack) - Constructor for class java_cup.runtime.virtual_parse_stack
Constructor to build a virtual stack out of a real stack.
vstack - Variable in class java_cup.runtime.virtual_parse_stack
The virtual top portion of the stack.

_

_done_parsing - Variable in class java_cup.runtime.lr_parser
Internal flag to indicate when parser should quit.
_error_sync_size - Static variable in class java_cup.runtime.lr_parser
The default number of Symbols after an error we much match to consider it recovered from.
_scanner - Variable in class java_cup.runtime.lr_parser
This is the scanner object used by the default implementation of scan() to get Symbols.

A C D E F G I J L N P R S T U V _