Alphabetical Index

_ A B C D E F G H I K L M N O P R S T U V

_

_action - field in class java_cup.production
An action_part containing code for the action to be performed when we reduce with this production.
_all - field in class java_cup.lalr_item_set
A hash table to implement the set.
_all - static field in class java_cup.lalr_state
Collection of all states.
_all - static field in class java_cup.non_terminal
Table of all non-terminals -- elements are stored using name strings as the key
_all - static field in class java_cup.production
Table of all productions.
_all - field in class java_cup.symbol_set
A hash table to hold the set.
_all - static field in class java_cup.terminal
Table of all terminals.
_all_by_index - static field in class java_cup.non_terminal
Table of all non terminals indexed by their index number.
_all_by_index - static field in class java_cup.terminal
Table of all terminals indexed by their index number.
_all_kernels - static field in class java_cup.lalr_state
Hash table to find states by their kernels (i.e, the original, unclosed, set of items -- which uniquely define the state).
_base_production - field in class java_cup.action_production
The production we were taken out of.
_code_string - field in class java_cup.action_part
String containing code for the action in question.
_core_hash_cache - field in class java_cup.lr_item_core
Cache of the hash code.
_dot_pos - field in class java_cup.lr_item_core
The position of the "dot" -- this indicates the part of the production that the marker is before, so 0 indicates a dot at the beginning of the RHS.
_elements - field in class java_cup.terminal_set
Bitset to implement the actual set.
_first_set - field in class java_cup.non_terminal
First set for this non-terminal.
_first_set - field in class java_cup.production
First set of the production.
_index - field in class java_cup.lalr_state
Index of this state in the parse tables
_index - field in class java_cup.production
Index number of the production.
_index - field in class java_cup.symbol
Index of this symbol (terminal or non terminal) in the parse tables.
_items - field in class java_cup.lalr_state
The item set for this state.
_label - field in class java_cup.production_part
Optional label for referring to the part within an action (null for no label).
_lhs - field in class java_cup.production
The left hand side non-terminal.
_lookahead - field in class java_cup.lalr_item
The lookahead symbols of the item.
_lr_values - static field in class java_cup.emit
_name - field in class java_cup.symbol
String for the human readable name of the symbol.
_next - field in class java_cup.lalr_transition
Next transition in linked list of transitions out of a state
_nullable - field in class java_cup.non_terminal
Nullability of this non terminal.
_nullable - field in class java_cup.production
Nullability of the production (can it derive the empty string).
_nullable_known - field in class java_cup.production
Is the nullability of the production known or unknown?
_num_reductions - field in class java_cup.production
Count of number of reductions using this production.
_num_states - field in class java_cup.parse_action_table
How many rows/states are in the machine/table.
_num_states - field in class java_cup.parse_reduce_table
How many rows/states in the machine/table.
_on_symbol - field in class java_cup.lalr_transition
The symbol we make the transition on.
_productions - field in class java_cup.non_terminal
Table of all productions with this non terminal on the LHS.
_propagate_items - field in class java_cup.lalr_item
Links to items that the lookahead needs to be propagated to.
_reduce_with - field in class java_cup.reduce_action
The production we reduce with.
_rhs - field in class java_cup.production
A collection of parts for the right hand side.
_rhs_assoc - field in class java_cup.production
_rhs_length - field in class java_cup.production
How much of the right hand side array we are presently using.
_rhs_prec - field in class java_cup.production
The precedence of the rule
_shift_to - field in class java_cup.shift_action
The state we shift to.
_size - static field in class java_cup.parse_action_row
Number of columns (terminals) in every row.
_size - static field in class java_cup.parse_reduce_row
Number of columns (non terminals) in every row.
_stack_type - field in class java_cup.symbol
String for the type of object used for the symbol on the parse stack.
_symbol_after_dot - field in class java_cup.lr_item_core
Cache of symbol after the dot.
_the_production - field in class java_cup.lr_item_core
The production for the item.
_the_symbol - field in class java_cup.symbol_part
The symbol that this part is made up of.
_to_state - field in class java_cup.lalr_transition
The state we transition to.
_transitions - field in class java_cup.lalr_state
List of transitions out of this state.
_use_count - field in class java_cup.symbol
Count of how many times the symbol appears in productions.

A

action() - method in class java_cup.production
An action_part containing code for the action to be performed when we reduce with this production.
action_code - static field in class java_cup.emit
User declarations for direct inclusion in user action class.
action_code_time - static field in class java_cup.emit
Time to produce action code class.
action_part - class java_cup.action_part
This class represents a part of a production which contains an action.
action_part(String) - constructor for class java_cup.action_part
Simple constructor.
A specialized version of a production used when we split an existing production in order to remove an embedded action.
Constructor.
action_table - static field in class java_cup.Main
Resulting parse action table.
action_table_time - static field in class java_cup.emit
Time to produce the action table.
add(lalr_item) - method in class java_cup.lalr_item_set
Add a singleton item, merging lookahead sets if the item is already part of the set.
add(lalr_item_set) - method in class java_cup.lalr_item_set
Add a complete set, merging lookaheads where items are already in the set
add(symbol) - method in class java_cup.symbol_set
Add a single symbol to the set.
add(symbol_set) - method in class java_cup.symbol_set
Add (union) in a complete set.
add(terminal) - method in class java_cup.terminal_set
Add a single terminal to the set.
add(terminal_set) - method in class java_cup.terminal_set
Add (union) in a complete set.
add_production(production) - method in class java_cup.non_terminal
Add a production to our set of productions.
add_propagate(lalr_item) - method in class java_cup.lalr_item
Add a new item to the set of items we propagate to.
Add a transition out of this state to another.
all() - method in class java_cup.lalr_item_set
Access to all elements of the set.
all() - static method in class java_cup.lalr_state
Collection of all states.
all() - static method in class java_cup.non_terminal
Access to all non-terminals.
all() - static method in class java_cup.production
Access to all productions.
all() - method in class java_cup.symbol_set
Access to all elements of the set.
all() - static method in class java_cup.terminal
Access to all terminals.
assoc - class java_cup.assoc
author_str - static field in class java_cup.version
Name of the author

B

base_production() - method in class java_cup.action_production
The production we were taken out of.
build_end - static field in class java_cup.Main
Timing data -- when did we end state and table building
build_machine(production) - static method in class java_cup.lalr_state
Build an LALR viable prefix recognition machine given a start production.
build_parser() - static method in class java_cup.Main
Build the (internal) parser from the previously parsed specification.
Fill in the parse table entries for this state.

C

calc_lookahead(terminal_set) - method in class java_cup.lalr_item
Calculate lookahead representing symbols that could appear after the symbol that the dot is currently in front of.
check_end - static field in class java_cup.Main
Timing data -- when did we end checking
check_first_set() - method in class java_cup.production
Update (and return) the first set based on current NT firsts.
check_nullable() - method in class java_cup.production
Check to see if the production (now) appears to be nullable.
check_reductions() - method in class java_cup.parse_action_table
Check the table to ensure that all productions have been reduced.
check_unused() - static method in class java_cup.Main
Check for unused symbols.
class_type_argument - static field in class java_cup.emit
TUM changes; proposed by Henning Niss 20050628: Type arguments for class declaration
clear() - static method in class java_cup.emit
clear() - static method in class java_cup.lalr_state
clear() - static method in class java_cup.non_terminal
clear() - static method in class java_cup.parse_action_row
clear() - static method in class java_cup.parse_reduce_row
clear() - static method in class java_cup.production
clear() - static method in class java_cup.terminal
close_files() - static method in class java_cup.Main
Close various files used by the system.
code_string() - method in class java_cup.action_part
String containing code for the action in question.
compute_closure() - method in class java_cup.lalr_item_set
Compute the closure of the set using the LALR closure rules.
compute_default() - method in class java_cup.parse_action_row
Compute the default (reduce) action for this row and store it in default_reduce.
compute_first_sets() - static method in class java_cup.non_terminal
Compute first sets for all non-terminals.
compute_nullability() - static method in class java_cup.non_terminal
Compute nullability of all non-terminals.
contains(int) - method in class java_cup.terminal_set
Given its index determine if the set contains a particular terminal.
contains(lalr_item) - method in class java_cup.lalr_item_set
Does the set contain a particular item?
contains(symbol) - method in class java_cup.symbol_set
Determine if the set contains a particular symbol.
contains(terminal) - method in class java_cup.terminal_set
Determine if the set contains a particular terminal.
core_equals(lr_item_core) - method in class java_cup.lr_item_core
Equality comparison for the core only.
core_hashCode() - method in class java_cup.lr_item_core
Hash code for the core (separated so we keep non overridden version).
crash() - method in class java_cup.internal_error
Method called to do a forced error exit on an internal error for cases when we can't actually throw the exception.

D

declare_labels(rhs[],int,String) - method in class java_cup.production
Declare label names as valid variables within the action string
default_reduce - field in class java_cup.parse_action_row
Default (reduce) action for this row.
dest_dir - static field in class java_cup.Main
Output directory.
Emit the action table.
do_escaped(PrintWriter,char) - static method in class java_cup.emit
do_newline(PrintWriter,int,int) - static method in class java_cup.emit
do_reduce_table(PrintWriter,parse_reduce_table) - static method in class java_cup.emit
Emit the reduce-goto table.
do_table_as_string(PrintWriter,short[][]) - static method in class java_cup.emit
dot_at_end() - method in class java_cup.lr_item_core
Is the dot at the end of the production?
dot_before_nt() - method in class java_cup.lr_item_core
Determine if we have a dot before a non terminal, and if so which one (return null or the non terminal).
dot_pos() - method in class java_cup.lr_item_core
The position of the "dot" -- this indicates the part of the production that the marker is before, so 0 indicates a dot at the beginning of the RHS.
dump_end - static field in class java_cup.Main
Timing data -- when did we end dumping
dump_grammar() - static method in class java_cup.Main
Produce a human readable dump of the grammar.
dump_machine() - static method in class java_cup.Main
Produce a (semi-) human readable dump of the complete viable prefix recognition state machine.
dump_state(lalr_state) - static method in class java_cup.lalr_state
Helper routine for debugging -- produces a dump of the given state onto System.out.
dump_tables() - static method in class java_cup.Main
Produce a (semi-) human readable dumps of the parse tables

E

emit - class java_cup.emit
This class handles emitting generated code for the resulting parser.
emit_action_code(PrintWriter,production) - static method in class java_cup.emit
Emit code for the non-public class holding the actual action code.
emit_end - static field in class java_cup.Main
Timing data -- when did we finish emitting code
emit_error(String) - method in class java_cup.ErrorManager
emit_error(String,Symbol) - method in class java_cup.ErrorManager
emit_fatal(String) - method in class java_cup.ErrorManager
Error message format: ERRORLEVEL at (LINE/COLUMN)@SYMBOL: MESSAGE ERRORLEVEL : MESSAGE
emit_fatal(String,Symbol) - method in class java_cup.ErrorManager
emit_package(PrintWriter) - static method in class java_cup.emit
Emit a package spec if the user wants one.
emit_parser() - static method in class java_cup.Main
Call the emit routines necessary to write out the generated parser.
emit_production_table(PrintWriter) - static method in class java_cup.emit
Emit the production table.
emit_summary(boolean) - static method in class java_cup.Main
Emit a long summary message to standard error (System.err) which summarizes what was found in the specification, how many states were produced, how many conflicts were found, etc.
emit_warning(String) - method in class java_cup.ErrorManager
emit_warning(String,Symbol) - method in class java_cup.ErrorManager
EMPTY - static field in class java_cup.terminal_set
Constant for the empty set.
empty() - method in class java_cup.terminal_set
Determine if the set is empty.
EOF - static field in class java_cup.terminal
Special terminal for end of input.
equals(action_part) - method in class java_cup.action_part
Equality comparison for properly typed object.
equals(lalr_item) - method in class java_cup.lalr_item
Equality comparison -- here we only require the cores to be equal since we need to do sets of items based only on core equality (ignoring lookahead sets).
equals(lalr_item_set) - method in class java_cup.lalr_item_set
Equality comparison.
equals(lalr_state) - method in class java_cup.lalr_state
Equality comparison.
equals(lr_item_core) - method in class java_cup.lr_item_core
Equality comparison.
equals(Object) - method in class java_cup.action_part
Generic equality comparison.
equals(Object) - method in class java_cup.lalr_item
Generic equality comparison.
equals(Object) - method in class java_cup.lalr_item_set
Generic equality comparison.
equals(Object) - method in class java_cup.lalr_state
Generic equality comparison.
equals(Object) - method in class java_cup.lr_item_core
Generic equality comparison.
equals(Object) - method in class java_cup.nonassoc_action
Generic equality test.
equals(Object) - method in class java_cup.parse_action
Generic equality test.
equals(Object) - method in class java_cup.production
Generic equality comparison.
equals(Object) - method in class java_cup.production_part
Generic equality comparison.
equals(Object) - method in class java_cup.reduce_action
Generic equality test.
equals(Object) - method in class java_cup.shift_action
Generic equality test.
equals(Object) - method in class java_cup.symbol_part
Generic equality comparison.
equals(Object) - method in class java_cup.symbol_set
Generic equality comparison.
equals(Object) - method in class java_cup.terminal_set
Generic equality comparison.
equals(parse_action) - method in class java_cup.nonassoc_action
Equality test.
equals(parse_action) - method in class java_cup.parse_action
Equality test.
equals(production) - method in class java_cup.production
Equality comparison.
equals(production_part) - method in class java_cup.production_part
Equality comparison.
equals(reduce_action) - method in class java_cup.reduce_action
Equality test.
equals(shift_action) - method in class java_cup.shift_action
Equality test.
equals(symbol_part) - method in class java_cup.symbol_part
Equality comparison.
equals(symbol_set) - method in class java_cup.symbol_set
Equality comparison.
equals(terminal_set) - method in class java_cup.terminal_set
Equality comparison.
ERROR - static field in class java_cup.parse_action
Constant for action type -- error action.
error - static field in class java_cup.terminal
special terminal used for error recovery
ErrorManager - class java_cup.ErrorManager
expect_conflicts - static field in class java_cup.Main
User option -- number of conflicts to expect

F

final_time - static field in class java_cup.Main
Timing data -- when were we completely done
find(int) - static method in class java_cup.non_terminal
Lookup a non terminal by index.
find(int) - static method in class java_cup.production
Lookup a production by index.
find(int) - static method in class java_cup.terminal
Lookup a terminal by index.
find(lalr_item) - method in class java_cup.lalr_item_set
Return the item in the set matching a particular item (or null if not found)
find(String) - static method in class java_cup.non_terminal
lookup a non terminal by name string
find(String) - static method in class java_cup.terminal
Lookup a terminal by name string.
find_state(lalr_item_set) - static method in class java_cup.lalr_state
Find and return state with a given a kernel item set (or null if not found).
first_end - static field in class java_cup.Main
Timing data -- when did we end first set calculation
first_set() - method in class java_cup.non_terminal
First set for this non-terminal.
first_set() - method in class java_cup.production
First set of the production.
Procedure that attempts to fix a shift/reduce error by using precedences.

G

get_one() - method in class java_cup.lalr_item_set
Remove and return one item from the set (done in hash order).
getErrorCount() - method in class java_cup.ErrorManager
getFatalCount() - method in class java_cup.ErrorManager
getManager() - static method in class java_cup.ErrorManager
getWarningCount() - method in class java_cup.ErrorManager
goto_table_time - static field in class java_cup.emit
Time to produce the reduce-goto table.

H

hashCode() - method in class java_cup.action_part
Produce a hash code.
hashCode() - method in class java_cup.lalr_item
Return a hash code -- here we only hash the core since we only test core matching in LALR items.
hashCode() - method in class java_cup.lalr_item_set
Return hash code.
hashCode() - method in class java_cup.lalr_state
Produce a hash code.
hashCode() - method in class java_cup.lr_item_core
Hash code for the item.
hashCode() - method in class java_cup.nonassoc_action
Compute a hash code.
hashCode() - method in class java_cup.parse_action
Compute a hash code.
hashCode() - method in class java_cup.production
Produce a hash code.
hashCode() - method in class java_cup.production_part
Produce a hash code.
hashCode() - method in class java_cup.reduce_action
Compute a hash code.
hashCode() - method in class java_cup.shift_action
Compute a hash code.
hashCode() - method in class java_cup.symbol_part
Produce a hash code.
hashCode() - method in class java_cup.symbol_set
Compute a hash code.
hashcode_cache - field in class java_cup.lalr_item_set
Cached hashcode for this set.

I

import_list - static field in class java_cup.emit
List of imports (Strings containing class names) to go with actions.
include_non_terms - static field in class java_cup.Main
User option -- should we include non terminal symbol numbers in the symbol constant class.
index() - method in class java_cup.lalr_state
Index of this state in the parse tables
index() - method in class java_cup.production
Index number of the production.
index() - method in class java_cup.symbol
Index of this symbol (terminal or non terminal) in the parse tables.
init_code - static field in class java_cup.emit
User code for user_init() which is called during parser initialization.
input_file - static field in class java_cup.Main
Input file.
Exception subclass for reporting internal errors in JavaCup.
internal_error(String) - constructor for class java_cup.internal_error
Constructor with a message
intersects(terminal_set) - method in class java_cup.terminal_set
Determine if this set intersects another.
is_action() - method in class java_cup.action_part
Override to report this object as an action.
is_action() - method in class java_cup.production_part
Indicate if this is an action (rather than a symbol).
is_action() - method in class java_cup.symbol_part
Respond that we are not an action part.
is_embedded_action - field in class java_cup.non_terminal
flag non-terminals created to embed action productions
is_id_char(char) - static method in class java_cup.production
Determine if a character can be in a label id.
is_id_start(char) - static method in class java_cup.production
Determine if a given character can be a label id starter.
is_non_term() - method in class java_cup.non_terminal
Indicate that this symbol is a non-terminal.
is_non_term() - method in class java_cup.symbol
Indicate if this is a non-terminal.
is_non_term() - method in class java_cup.terminal
Report this symbol as not being a non-terminal.
is_subset_of(lalr_item_set) - method in class java_cup.lalr_item_set
Is this set an (improper) subset of another?
is_subset_of(symbol_set) - method in class java_cup.symbol_set
Determine if this set is an (improper) subset of another.
is_subset_of(terminal_set) - method in class java_cup.terminal_set
Determine if this set is an (improper) subset of another.
is_superset_of(lalr_item_set) - method in class java_cup.lalr_item_set
Is this set an (improper) superset of another?
is_superset_of(symbol_set) - method in class java_cup.symbol_set
Determine if this set is an (improper) superset of another.
is_superset_of(terminal_set) - method in class java_cup.terminal_set
Determine if this set is an (improper) superset of another.
items() - method in class java_cup.lalr_state
The item set for this state.

K

kind() - method in class java_cup.nonassoc_action
Quick access to type of action.
kind() - method in class java_cup.parse_action
Quick access to the type -- base class defaults to error.
kind() - method in class java_cup.reduce_action
Quick access to type of action.
kind() - method in class java_cup.shift_action
Quick access to type of action.

L

label() - method in class java_cup.production_part
Optional label for referring to the part within an action (null for no label).
lalr_item - class java_cup.lalr_item
This class represents an LALR item.
lalr_item(production) - constructor for class java_cup.lalr_item
Constructor with default position and empty lookahead set.
lalr_item(production,int,terminal_set) - constructor for class java_cup.lalr_item
Full constructor.
lalr_item(production,terminal_set) - constructor for class java_cup.lalr_item
Constructor with default position (dot at start).
lalr_item_set - class java_cup.lalr_item_set
This class represents a set of LALR items.
lalr_item_set() - constructor for class java_cup.lalr_item_set
Constructor for an empty set.
lalr_item_set(lalr_item_set) - constructor for class java_cup.lalr_item_set
Constructor for cloning from another set.
lalr_state - class java_cup.lalr_state
This class represents a state in the LALR viable prefix recognition machine.
lalr_state(lalr_item_set) - constructor for class java_cup.lalr_state
Constructor for building a state from a set of items.
This class represents a transition in an LALR viable prefix recognition machine.
lalr_transition(symbol,lalr_state) - constructor for class java_cup.lalr_transition
Constructor with null next.
Full constructor.
left - static field in class java_cup.assoc
lhs() - method in class java_cup.production
The left hand side non-terminal.
lookahead() - method in class java_cup.lalr_item
The lookahead symbols of the item.
lookahead_visible() - method in class java_cup.lalr_item
Determine if everything from the symbol one beyond the dot all the way to the end of the right hand side is nullable.
looks_nullable() - method in class java_cup.non_terminal
Test to see if this non terminal currently looks nullable.
lr_item_core - class java_cup.lr_item_core
The "core" of an LR item.
lr_item_core(production) - constructor for class java_cup.lr_item_core
Constructor for dot at start of right hand side.
lr_item_core(production,int) - constructor for class java_cup.lr_item_core
Full constructor.
lr_values - static field in class java_cup.Main
User option -- should generator generate code for left/right values?
lr_values() - static method in class java_cup.emit
whether or not to emit code for left and right values

M

machine_end - static field in class java_cup.Main
Timing data -- when did we end state machine construction
Main - class java_cup.Main
This class serves as the main driver for the JavaCup system.
main(argv[]) - static method in class java_cup.Main
The main driver for the system.
major - static field in class java_cup.version
The major version number.
Return label declaration code
Helper routine to merge adjacent actions in a set of RHS parts
minor - static field in class java_cup.version
The minor version number.

N

name() - method in class java_cup.symbol
String for the human readable name of the symbol.
needs_propagation - field in class java_cup.lalr_item
Flag to indicate that this item needs to propagate its lookahead (whether it has changed or not).
next() - method in class java_cup.lalr_transition
Next transition in linked list of transitions out of a state
next_index - static field in class java_cup.lalr_state
Static counter for assigning unique state indexes.
next_index - static field in class java_cup.non_terminal
Static counter to assign unique indexes.
next_index - static field in class java_cup.production
Static counter for assigning unique index numbers.
next_index - static field in class java_cup.terminal
Static counter to assign unique index.
next_nt - static field in class java_cup.non_terminal
Static counter for creating unique non-terminal names
no_prec - static field in class java_cup.assoc
no_summary - static field in class java_cup.Main
User option -- do not print a summary.
non_terminal - class java_cup.non_terminal
This class represents a non-terminal symbol in the grammar.
non_terminal(String) - constructor for class java_cup.non_terminal
Constructor with default type.
non_terminal(String,String) - constructor for class java_cup.non_terminal
Full constructor.
nonassoc - static field in class java_cup.assoc
NONASSOC - static field in class java_cup.parse_action
Constants for action type -- reduce action.
This class represents a shift/reduce nonassociative error within the parse table.
nonassoc_action() - constructor for class java_cup.nonassoc_action
Simple constructor.
not_null(Object) - method in class java_cup.lalr_item_set
Helper function for null test.
not_null(Object) - method in class java_cup.symbol_set
Helper function to test for a null object and throw an exception if one is found.
not_null(Object) - method in class java_cup.terminal_set
Helper function to test for a null object and throw an exception if one is found.
not_reduced - static field in class java_cup.emit
Count of the number on non-reduced productions found.
note_reduction_use() - method in class java_cup.production
Increment the count of reductions with this non-terminal
note_use() - method in class java_cup.symbol
Increment the use count.
nowarn - static field in class java_cup.emit
Do we skip warnings?
nullability_end - static field in class java_cup.Main
Timing data -- when did we end nullability calculation
nullable() - method in class java_cup.non_terminal
Nullability of this non terminal.
nullable() - method in class java_cup.production
Nullability of the production (can it derive the empty string).
nullable_known() - method in class java_cup.production
Is the nullability of the production known or unknown?
num_conflicts - static field in class java_cup.emit
Number of conflict found while building tables.
num_productions() - method in class java_cup.non_terminal
Total number of productions with this non terminal on the LHS.
num_reductions() - method in class java_cup.production
Count of number of reductions using this production.
num_states() - method in class java_cup.parse_action_table
How many rows/states are in the machine/table.
num_states() - method in class java_cup.parse_reduce_table
How many rows/states in the machine/table.
number() - static method in class java_cup.lalr_state
Indicate total number of states there are.
number() - static method in class java_cup.non_terminal
Total number of non-terminals.
number() - static method in class java_cup.production
Total number of productions.
number() - static method in class java_cup.terminal
Total number of terminals.

O

obj_hash() - method in class java_cup.lr_item_core
Return the hash code that object would have provided for us so we have a (nearly) unique id for debugging.
on_symbol() - method in class java_cup.lalr_transition
The symbol we make the transition on.
open_files() - static method in class java_cup.Main
Open various files used by the system.
opt_compact_red - static field in class java_cup.Main
User option -- do we compact tables by making most common reduce the default action
opt_do_debug - static field in class java_cup.Main
User option -- do we run produce extra debugging messages
opt_dump_grammar - static field in class java_cup.Main
User option -- do we produce a dump of the grammar
opt_dump_states - static field in class java_cup.Main
User option -- do we produce a dump of the state machine
opt_dump_tables - static field in class java_cup.Main
User option -- do we produce a dump of the parse tables
opt_show_timing - static field in class java_cup.Main
User option -- do we show timing information as a part of the summary

P

package_name - static field in class java_cup.emit
Package that the resulting code goes into (null is used for unnamed).
parse_action - class java_cup.parse_action
This class serves as the base class for entries in a parse action table.
parse_action() - constructor for class java_cup.parse_action
Simple constructor.
This class represents one row (corresponding to one machine state) of the parse action table.
parse_action_row() - constructor for class java_cup.parse_action_row
Simple constructor.
This class represents the complete "action" table of the parser.
parse_action_table() - constructor for class java_cup.parse_action_table
Simple constructor.
parse_args(argv[]) - static method in class java_cup.Main
Parse command line options and arguments to set various user-option flags and variables.
parse_end - static field in class java_cup.Main
Timing data -- when did we end parsing
parse_grammar_spec() - static method in class java_cup.Main
Parse the grammar specification from standard input.
This class represents one row (corresponding to one machine state) of the reduce-goto parse table.
parse_reduce_row() - constructor for class java_cup.parse_reduce_row
Simple constructor.
This class represents the complete "reduce-goto" table of the parser.
parse_reduce_table() - constructor for class java_cup.parse_reduce_table
Simple constructor.
Emit the parser subclass with embedded tables.
parser_class_file - static field in class java_cup.Main
Output file for the parser class.
parser_class_name - static field in class java_cup.emit
Name of the generated parser class.
parser_code - static field in class java_cup.emit
User declarations for direct inclusion in parser class.
parser_time - static field in class java_cup.emit
Time to produce parser class.
plural(int) - static method in class java_cup.Main
Helper routine to optionally return a plural or non-plural ending.
pre(String) - static method in class java_cup.emit
Build a string with the standard prefix.
precedence_num() - method in class java_cup.production
Access to the precedence of the rule
precedence_num() - method in class java_cup.terminal
get the precedence of a terminal
precedence_side() - method in class java_cup.production
precedence_side() - method in class java_cup.terminal
prefix - static field in class java_cup.emit
The prefix placed on names that pollute someone else's name space.
prelim_end - static field in class java_cup.Main
Timing data -- when did we end preliminaries
print_progress - static field in class java_cup.Main
User option -- do we print progress messages.
production - class java_cup.production
This class represents a production in the grammar.
production(non_terminal,rhs_parts[],int) - constructor for class java_cup.production
Constructor with no action string.
Full constructor.
This class represents one part (either a symbol or an action) of a production.
production_part(String) - constructor for class java_cup.production_part
Simple constructor.
production_table_time - static field in class java_cup.emit
Time to produce the production table.
productions() - method in class java_cup.non_terminal
Access to productions with this non terminal on the LHS.
program_name - static field in class java_cup.version
The command name normally used to invoke this program
propagate_all_lookaheads() - static method in class java_cup.lalr_state
Propagate lookahead sets through the constructed viable prefix recognizer.
propagate_items() - method in class java_cup.lalr_item
Links to items that the lookahead needs to be propagated to
propagate_lookaheads() - method in class java_cup.lalr_state
Propagate lookahead sets out of this state.
Propagate incoming lookaheads through this item to others need to be changed.

R

REDUCE - static field in class java_cup.parse_action
Constants for action type -- reduce action.
reduce_action - class java_cup.reduce_action
This class represents a reduce action within the parse table.
reduce_action(production) - constructor for class java_cup.reduce_action
Simple constructor.
reduce_check_end - static field in class java_cup.Main
Timing data -- when did we end checking for non-reduced productions
reduce_table - static field in class java_cup.Main
Resulting reduce-goto table.
reduce_with() - method in class java_cup.reduce_action
The production we reduce with.
reduction_count - static field in class java_cup.parse_action_row
Table of reduction counts (reused by compute_default()).
remove(lalr_item) - method in class java_cup.lalr_item_set
Remove a single item if it is in the set.
remove(lalr_item_set) - method in class java_cup.lalr_item_set
Remove (set subtract) a complete set.
remove(symbol) - method in class java_cup.symbol_set
Remove a single symbol if it is in the set.
remove(symbol_set) - method in class java_cup.symbol_set
Remove (set subtract) a complete set.
remove(terminal) - method in class java_cup.terminal_set
Remove a terminal if it is in the set.
remove_embedded_actions() - method in class java_cup.production
Remove all embedded actions from a production by factoring them out into individual action production using new non terminals.
report_conflicts(terminal_set) - method in class java_cup.lalr_state
Produce warning messages for all conflicts found in this state.
Produce a warning message for one reduce/reduce conflict.
Produce a warning message for one shift/reduce conflict.
rhs(int) - method in class java_cup.production
Access to the collection of parts for the right hand side.
rhs_length() - method in class java_cup.production
How much of the right hand side array we are presently using.
right - static field in class java_cup.assoc

S

scan_code - static field in class java_cup.emit
User code for scan() which is called to get the next Symbol.
set_code_string(String) - method in class java_cup.action_part
Set the code string.
set_lr_values(boolean) - static method in class java_cup.emit
set_precedence(int,int) - method in class java_cup.terminal
set the precedence of a terminal
set_precedence_num(int) - method in class java_cup.production
Setting the precedence of a rule
set_precedence_side(int) - method in class java_cup.production
SHIFT - static field in class java_cup.parse_action
Constant for action type -- shift action.
shift() - method in class java_cup.lalr_item
Produce the new lalr_item that results from shifting the dot one position to the right.
shift_action - class java_cup.shift_action
This class represents a shift action within the parse table.
shift_action(lalr_state) - constructor for class java_cup.shift_action
Simple constructor.
shift_core() - method in class java_cup.lr_item_core
Produce a new lr_item_core that results from shifting the dot one position to the right.
shift_to() - method in class java_cup.shift_action
The state we shift to.
show_times() - static method in class java_cup.Main
Produce the optional timing summary as part of an overall summary.
size() - method in class java_cup.lalr_item_set
Size of the set
size() - static method in class java_cup.parse_action_row
Number of columns (terminals) in every row.
size() - static method in class java_cup.parse_reduce_row
Number of columns (non terminals) in every row.
size() - method in class java_cup.symbol_set
size of the set
stack_type() - method in class java_cup.symbol
String for the type of object used for the symbol on the parse stack.
START_nt - static field in class java_cup.non_terminal
special non-terminal for start symbol
start_production - static field in class java_cup.emit
The start production of the grammar.
start_state - static field in class java_cup.Main
Start state in the overall state machine.
start_time - static field in class java_cup.Main
Timing data -- when did we start
Helper routine to strip a trailing action off rhs and return it
suppress_scanner - static field in class java_cup.Main
User option -- should generator suppress references to java_cup.runtime.Scanner for compatibility with old runtimes?
sym_interface - static field in class java_cup.Main
User option -- should symbols be put in a class or an interface? [CSA]
symbol - class java_cup.symbol
This abstract class serves as the base class for grammar symbols (i.e., both terminals and non-terminals).
symbol(String) - constructor for class java_cup.symbol
Constructor with default type.
symbol(String,String) - constructor for class java_cup.symbol
Full constructor.
symbol_after_dot() - method in class java_cup.lr_item_core
Return the symbol after the dot.
symbol_class_file - static field in class java_cup.Main
Output file for the symbol constant class.
symbol_const_class_name - static field in class java_cup.emit
Name of the generated class for symbol constants.
symbol_part - class java_cup.symbol_part
This class represents a part of a production which is a symbol (terminal or non terminal).
symbol_part(symbol) - constructor for class java_cup.symbol_part
Constructor with no label.
symbol_part(symbol,String) - constructor for class java_cup.symbol_part
Full constructor.
symbol_set - class java_cup.symbol_set
This class represents a set of symbols and provides a series of set operations to manipulate them.
symbol_set() - constructor for class java_cup.symbol_set
Constructor for an empty set.
symbol_set(symbol_set) - constructor for class java_cup.symbol_set
Constructor for cloning from another set.
symbols(PrintWriter,boolean,boolean) - static method in class java_cup.emit
Emit code for the symbol constant class, optionally including non terms, if they have been requested.
symbols_time - static field in class java_cup.emit
Time to produce symbol constant class.

T

table_end - static field in class java_cup.Main
Timing data -- when did we end table construction
terminal - class java_cup.terminal
This class represents a terminal symbol in the grammar.
terminal(String) - constructor for class java_cup.terminal
Constructor with default type.
terminal(String,String) - constructor for class java_cup.terminal
Constructor for non-precedented terminal
terminal(String,String,int,int) - constructor for class java_cup.terminal
Full constructor.
terminal_set - class java_cup.terminal_set
A set of terminals implemented as a bitset.
terminal_set() - constructor for class java_cup.terminal_set
Constructor for an empty set.
terminal_set(terminal_set) - constructor for class java_cup.terminal_set
Constructor for cloning from another set.
the_production() - method in class java_cup.lr_item_core
The production for the item.
the_symbol() - method in class java_cup.symbol_part
The symbol that this part is made up of.
timestr(long,long) - static method in class java_cup.Main
Helper routine to format a decimal based display of seconds and percentage of total time given counts of milliseconds.
title_str - static field in class java_cup.version
Full title of the system
to_simple_string() - method in class java_cup.lr_item_core
Convert to a string (separated out from toString() so we can call it from subclass that overrides toString()).
to_simple_string() - method in class java_cup.production
Convert to a simpler string.
to_state() - method in class java_cup.lalr_transition
The state we transition to.
toString() - method in class java_cup.action_part
Convert to a string.
toString() - method in class java_cup.lalr_item
Convert to string.
toString() - method in class java_cup.lalr_item_set
Convert to string.
toString() - method in class java_cup.lalr_state
Convert to a string.
toString() - method in class java_cup.lalr_transition
Convert to a string.
toString() - method in class java_cup.lr_item_core
Convert to a string
toString() - method in class java_cup.non_terminal
convert to string
toString() - method in class java_cup.nonassoc_action
Convert to string.
toString() - method in class java_cup.parse_action
Convert to string.
toString() - method in class java_cup.parse_action_table
toString() - method in class java_cup.parse_reduce_table
Convert to a string.
toString() - method in class java_cup.production
Convert to a string.
toString() - method in class java_cup.production_part
Convert to a string.
toString() - method in class java_cup.reduce_action
Convert to string.
toString() - method in class java_cup.shift_action
Convert to a string.
toString() - method in class java_cup.symbol
Convert to a string.
toString() - method in class java_cup.symbol_part
Convert to a string.
toString() - method in class java_cup.symbol_set
Convert to a string.
toString() - method in class java_cup.terminal
Convert to a string.
toString() - method in class java_cup.terminal_set
Convert to string.
transitions() - method in class java_cup.lalr_state
List of transitions out of this state.
typeArgument() - static method in class java_cup.emit
TUM changes; proposed by Henning Niss 20050628 Build a string with the specified type arguments, if present, otherwise an empty string.

U

under_non_term - field in class java_cup.parse_reduce_row
Actual entries for the row.
under_state - field in class java_cup.parse_action_table
Actual array of rows, one per state.
under_state - field in class java_cup.parse_reduce_table
Actual array of rows, one per state
under_term - field in class java_cup.parse_action_row
Actual action entries for the row.
unused_non_term - static field in class java_cup.emit
Count of unused non terminals.
unused_term - static field in class java_cup.emit
Count of unused terminals.
update - static field in class java_cup.version
The update letter.
usage(String) - static method in class java_cup.Main
Print a "usage message" that described possible command line options, then exit.
use_count() - method in class java_cup.symbol
Count of how many times the symbol appears in productions.

V

version - class java_cup.version
This class contains version and authorship information.
version_str - static field in class java_cup.version
String for the current version.