- 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 variable in class java_cup.emit
-
User declarations for direct inclusion in user action class.
- action_code_time - Static variable in class java_cup.emit
-
Time to produce action code class.
- action_part - Class in java_cup
-
This class represents a part of a production which contains an
action.
- action_part(String) - Constructor for class java_cup.action_part
-
Simple constructor.
- action_production - Class in java_cup
-
A specialized version of a production used when we split an existing
production in order to remove an embedded action.
- action_production(production, non_terminal, production_part[], int, String, int) - Constructor for class java_cup.action_production
-
Constructor.
- action_tab - Variable in class java_cup.runtime.lr_parser
-
Direct reference to the action table.
- action_table - Static variable in class java_cup.Main
-
Resulting parse action table.
- action_table() - Method in class java_cup.runtime.lr_parser
-
The action table (supplied by generated subclass).
- action_table_time - Static variable 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_transition(symbol, lalr_state) - Method in class java_cup.lalr_state
-
Add a transition out of this state to another.
- advance_lookahead() - Method in class java_cup.runtime.lr_parser
-
Advance to next "parse ahead" input Symbol.
- 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 in java_cup
-
- assoc() - Constructor for class java_cup.assoc
-
- author_str - Static variable in class java_cup.version
-
Name of the author
- 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 variable 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 variable 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
-
- clone(ComplexSymbolFactory.Location) - Static method in class java_cup.runtime.ComplexSymbolFactory.Location
-
Cloning factory method
- 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.
- ComplexSymbol(String, int) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, Object) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, int) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, Symbol, Symbol) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, ComplexSymbolFactory.Location, ComplexSymbolFactory.Location) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, Symbol, Symbol, Object) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, Symbol, Object) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbol(String, int, ComplexSymbolFactory.Location, ComplexSymbolFactory.Location, Object) - Constructor for class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- ComplexSymbolFactory - Class in java_cup.runtime
-
Default Implementation for SymbolFactory, creates
plain old Symbols
- ComplexSymbolFactory() - Constructor for class java_cup.runtime.ComplexSymbolFactory
-
- ComplexSymbolFactory.ComplexSymbol - Class in java_cup.runtime
-
ComplexSymbol with detailed Location Informations and a Name
- ComplexSymbolFactory.Location - Class in java_cup.runtime
-
- 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(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.
- contains(int) - Method in class java_cup.terminal_set
-
Given its index 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 exception 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.
- CUPTask - Class in java_cup.anttask
-
- CUPTask() - Constructor for class java_cup.anttask.CUPTask
-
- 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.
- 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.
- declare_labels(production_part[], int, String) - Method in class java_cup.production
-
Declare label names as valid variables within the action string
- default_reduce - Variable in class java_cup.parse_action_row
-
Default (reduce) action for this row.
- DefaultSymbolFactory - Class in java_cup.runtime
-
Default Implementation for SymbolFactory, creates
plain old Symbols
- DefaultSymbolFactory() - Constructor for class java_cup.runtime.DefaultSymbolFactory
-
- dest_dir - Static variable in class java_cup.Main
-
Output directory.
- 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).
- do_action_table(PrintWriter, parse_action_table, boolean) - Static method in class java_cup.emit
-
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
-
- done_parsing() - Method in class java_cup.runtime.lr_parser
-
This method is called to indicate that the parser should quit.
- 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(XMLStreamWriter, XMLElement, String...) - Static method in class java_cup.runtime.XMLElement
-
- dump(ScannerBuffer, XMLStreamWriter, XMLElement, String...) - Static method in class java_cup.runtime.XMLElement
-
- dump(XMLStreamWriter) - Method in class java_cup.runtime.XMLElement
-
- dump(XMLStreamWriter) - Method in class java_cup.runtime.XMLElement.Error
-
- dump(XMLStreamWriter) - Method in class java_cup.runtime.XMLElement.NonTerminal
-
- dump(XMLStreamWriter) - Method in class java_cup.runtime.XMLElement.Terminal
-
- dump_end - Static variable 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_stack() - Method in class java_cup.runtime.lr_parser
-
Dump the parse stack for debugging purposes.
- 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
- emit - Class in java_cup
-
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 variable 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
-
- emit_xmlaction_code(PrintWriter, production) - Static method in class java_cup.emit
-
Emit code for generic XML parsetree output.
- empty() - Method in class java_cup.runtime.virtual_parse_stack
-
Indicate whether the stack is empty.
- EMPTY - Static variable 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 variable in class java_cup.terminal
-
Special terminal for end of input.
- EOF_sym() - Method in class java_cup.runtime.lr_parser
-
The index of the end of file terminal Symbol (supplied by generated
subclass).
- equals(action_part) - Method in class java_cup.action_part
-
Equality comparison for properly typed object.
- equals(Object) - Method in class java_cup.action_part
-
Generic equality comparison.
- 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(Object) - Method in class java_cup.lalr_item
-
Generic equality comparison.
- equals(lalr_item_set) - Method in class java_cup.lalr_item_set
-
Equality comparison.
- equals(Object) - Method in class java_cup.lalr_item_set
-
Generic equality comparison.
- equals(lalr_state) - Method in class java_cup.lalr_state
-
Equality comparison.
- equals(Object) - Method in class java_cup.lalr_state
-
Generic equality comparison.
- equals(lr_item_core) - Method in class java_cup.lr_item_core
-
Equality comparison.
- equals(Object) - Method in class java_cup.lr_item_core
-
Generic equality comparison.
- equals(parse_action) - Method in class java_cup.nonassoc_action
-
Equality test.
- equals(Object) - Method in class java_cup.nonassoc_action
-
Generic equality test.
- equals(parse_action) - Method in class java_cup.parse_action
-
Equality test.
- equals(Object) - Method in class java_cup.parse_action
-
Generic equality test.
- equals(production) - Method in class java_cup.production
-
Equality comparison.
- equals(Object) - Method in class java_cup.production
-
Generic equality comparison.
- equals(production_part) - Method in class java_cup.production_part
-
Equality comparison.
- equals(Object) - Method in class java_cup.production_part
-
Generic equality comparison.
- equals(reduce_action) - Method in class java_cup.reduce_action
-
Equality test.
- equals(Object) - Method in class java_cup.reduce_action
-
Generic equality test.
- equals(shift_action) - Method in class java_cup.shift_action
-
Equality test.
- equals(Object) - Method in class java_cup.shift_action
-
Generic equality test.
- equals(symbol_part) - Method in class java_cup.symbol_part
-
Equality comparison.
- equals(Object) - Method in class java_cup.symbol_part
-
Generic equality comparison.
- equals(symbol_set) - Method in class java_cup.symbol_set
-
Equality comparison.
- equals(Object) - Method in class java_cup.symbol_set
-
Generic equality comparison.
- equals(terminal_set) - Method in class java_cup.terminal_set
-
Equality comparison.
- equals(Object) - Method in class java_cup.terminal_set
-
Generic equality comparison.
- ERROR - Static variable in class java_cup.parse_action
-
Constant for action type -- error action.
- Error(ComplexSymbolFactory.Location, ComplexSymbolFactory.Location) - Constructor for class java_cup.runtime.XMLElement.Error
-
- error - Static variable in class java_cup.terminal
-
special terminal used for error recovery
- 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.
- ErrorManager - Class in java_cup
-
- execute() - Method in class java_cup.anttask.CUPTask
-
executes the task
parses all attributes and validates options...
- expect_conflicts - Static variable in class java_cup.Main
-
User option -- number of conflicts to expect
- expected_token_ids() - Method in class java_cup.runtime.lr_parser
-
Return the expected symbol during this state of state of the parser
- import_list - Static variable in class java_cup.emit
-
List of imports (Strings containing class names) to go with actions.
- include_non_terms - Static variable 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_actions() - Method in class java_cup.runtime.lr_parser
-
Initialize the action object.
- init_code - Static variable in class java_cup.emit
-
User code for user_init() which is called during parser initialization.
- input_file - Static variable in class java_cup.Main
-
Input file.
- insert_action(parse_action, parse_action, int) - Method in class java_cup.lalr_state
-
- insert_reduce(parse_action, parse_action) - Method in class java_cup.lalr_state
-
- insert_shift(parse_action, parse_action) - Method in class java_cup.lalr_state
-
- inspect(String) - Method in class java_cup.anttask.CUPTask
-
Let's search for package name
- internal_error - Exception in java_cup
-
Exception subclass for reporting internal errors in JavaCup.
- internal_error(String) - Constructor for exception 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 - Variable 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.
- isCompact_red() - Method in class java_cup.anttask.CUPTask
-
Gets the value of compact_red
- isDebug() - Method in class java_cup.anttask.CUPTask
-
Gets the value of debug
- isDebugSymbols() - Method in class java_cup.anttask.CUPTask
-
Gets the value of debug
- isDump() - Method in class java_cup.anttask.CUPTask
-
Gets the value of dump
- isDump_grammar() - Method in class java_cup.anttask.CUPTask
-
Gets the value of dump_grammar
- isDump_states() - Method in class java_cup.anttask.CUPTask
-
Gets the value of dump_states
- isDump_tables() - Method in class java_cup.anttask.CUPTask
-
Gets the value of dump_tables
- isGenericlabels() - Method in class java_cup.anttask.CUPTask
-
- isInterface() - Method in class java_cup.anttask.CUPTask
-
Gets the value of _interface
- isLocations() - Method in class java_cup.anttask.CUPTask
-
Gets the value of locations
- isNonterms() - Method in class java_cup.anttask.CUPTask
-
Gets the value of nonterms
- isNopositions() - Method in class java_cup.anttask.CUPTask
-
Gets the value of nopositions
- isNoscanner() - Method in class java_cup.anttask.CUPTask
-
Gets the value of noscanner
- isNosummary() - Method in class java_cup.anttask.CUPTask
-
Gets the value of nosummary
- isNowarn() - Method in class java_cup.anttask.CUPTask
-
Gets the value of nowarn
- isProgress() - Method in class java_cup.anttask.CUPTask
-
Gets the value of progress
- isTime() - Method in class java_cup.anttask.CUPTask
-
Gets the value of time
- isXmlactions() - Method in class java_cup.anttask.CUPTask
-
- items() - Method in class java_cup.lalr_state
-
The item set for this state.
- 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 in java_cup
-
This class represents an LALR item.
- 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(production) - Constructor for class java_cup.lalr_item
-
Constructor with default position and empty lookahead set.
- lalr_item_set - Class in java_cup
-
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 in java_cup
-
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.
- lalr_transition - Class in java_cup
-
This class represents a transition in an LALR viable prefix recognition
machine.
- lalr_transition(symbol, lalr_state, lalr_transition) - Constructor for class java_cup.lalr_transition
-
Full constructor.
- lalr_transition(symbol, lalr_state) - Constructor for class java_cup.lalr_transition
-
Constructor with null next.
- left - Static variable in class java_cup.assoc
-
- left - Variable in class java_cup.runtime.Symbol
-
The data passed to parser
- left() - Method in class java_cup.runtime.XMLElement.Error
-
- left() - Method in class java_cup.runtime.XMLElement
-
- left() - Method in class java_cup.runtime.XMLElement.NonTerminal
-
- left() - Method in class java_cup.runtime.XMLElement.Terminal
-
- lhs() - Method in class java_cup.production
-
The left hand side non-terminal.
- Location(ComplexSymbolFactory.Location) - Constructor for class java_cup.runtime.ComplexSymbolFactory.Location
-
Copy Constructor for other ComplexSymbolFactory based Locations
- Location(String, int, int, int) - Constructor for class java_cup.runtime.ComplexSymbolFactory.Location
-
Location Object
stores compilation unit, line, column and offset to the file start
- Location(String, int, int) - Constructor for class java_cup.runtime.ComplexSymbolFactory.Location
-
Location Object
stores compilation unit, line and column
- Location(int, int, int) - Constructor for class java_cup.runtime.ComplexSymbolFactory.Location
-
Location Object
stores line, column and offset to the file start
- Location(int, int) - Constructor for class java_cup.runtime.ComplexSymbolFactory.Location
-
Location Object
stores line and column
- locations() - Static method in class java_cup.emit
-
- locations - Static variable in class java_cup.Main
-
- lookahead() - Method in class java_cup.lalr_item
-
The lookahead symbols of the item.
- 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".
- 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 in java_cup
-
The "core" of an LR item.
- lr_item_core(production, int) - Constructor for class java_cup.lr_item_core
-
Full constructor.
- lr_item_core(production) - Constructor for class java_cup.lr_item_core
-
Constructor for dot at start of right hand side.
- lr_parser - Class in java_cup.runtime
-
This class implements a skeleton table driven LR parser.
- lr_parser() - Constructor for class java_cup.runtime.lr_parser
-
Deprecated.
- lr_parser(SymbolFactory) - Constructor for class java_cup.runtime.lr_parser
-
Simple constructor.
- lr_parser(Scanner) - Constructor for class java_cup.runtime.lr_parser
-
Deprecated.
- lr_parser(Scanner, SymbolFactory) - Constructor for class java_cup.runtime.lr_parser
-
Constructor that sets the default scanner and a SymbolFactory
- lr_values() - Static method in class java_cup.emit
-
whether or not to emit code for left and right values
- lr_values - Static variable in class java_cup.Main
-
User option -- should generator generate code for left/right values?
- name - Variable in class java_cup.runtime.ComplexSymbolFactory.ComplexSymbol
-
- name() - Method in class java_cup.symbol
-
String for the human readable name of the symbol.
- needs_propagation - Variable in class java_cup.lalr_item
-
Flag to indicate that this item needs to propagate its lookahead
(whether it has changed or not).
- newSymbol(String, int, ComplexSymbolFactory.Location, ComplexSymbolFactory.Location, Object) - Method in class java_cup.runtime.ComplexSymbolFactory
-
newSymbol
creates a complex symbol with Location objects for left and right boundaries;
this is used for terminals with values!
- newSymbol(String, int, ComplexSymbolFactory.Location, ComplexSymbolFactory.Location) - Method in class java_cup.runtime.ComplexSymbolFactory
-
newSymbol
creates a complex symbol with Location objects for left and right boundaries;
this is used for terminals without values!
- newSymbol(String, int, Symbol, Object) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- newSymbol(String, int, Symbol, Symbol, Object) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- newSymbol(String, int, Symbol, Symbol) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- newSymbol(String, int) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- newSymbol(String, int, Object) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- newSymbol(String, int, Symbol, Symbol, Object) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int, Symbol, Object) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int, Symbol, Symbol) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int, int, int, Object) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int, int, int) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int, Object) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- newSymbol(String, int, Symbol, Symbol, Object) - Method in interface java_cup.runtime.SymbolFactory
-
newSymbol
creates a symbol with a value, grouping other symbols with left/right locations;
used frequently by the parser to implement non-terminal symbols
- newSymbol(String, int, Symbol, Symbol) - Method in interface java_cup.runtime.SymbolFactory
-
newSymbol
creates a symbol, grouping other symbols with left/right locations;
used frequently by the parser to implement non-terminal symbols
- newSymbol(String, int, Symbol, Object) - Method in interface java_cup.runtime.SymbolFactory
-
newSymbol
creates a symbol for an empty production, taking its location from the Symbol on the left
- newSymbol(String, int, Object) - Method in interface java_cup.runtime.SymbolFactory
-
newSymbol
creates a basic symbol with an attached value;
used frequently for terminal symbols like identifiers
- newSymbol(String, int) - Method in interface java_cup.runtime.SymbolFactory
-
newSymbol
creates a basic symbol;
used frequently for terminal symbols, like keywords
- next() - Method in class java_cup.lalr_transition
-
Next transition in linked list of transitions out of a state
- next_index - Static variable in class java_cup.lalr_state
-
Static counter for assigning unique state indexes.
- next_index - Static variable in class java_cup.non_terminal
-
Static counter to assign unique indexes.
- next_index - Static variable in class java_cup.production
-
Static counter for assigning unique index numbers.
- next_index - Static variable in class java_cup.terminal
-
Static counter to assign unique index.
- next_nt - Static variable in class java_cup.non_terminal
-
Static counter for creating unique non-terminal names
- next_token() - Method in interface java_cup.runtime.Scanner
-
Return the next token, or null
on end-of-file.
- next_token() - Method in class java_cup.runtime.ScannerBuffer
-
- no_prec - Static variable in class java_cup.assoc
-
- no_summary - Static variable in class java_cup.Main
-
User option -- do not print a summary.
- non_terminal - Class in java_cup
-
This class represents a non-terminal symbol in the grammar.
- non_terminal(String, String) - Constructor for class java_cup.non_terminal
-
Full constructor.
- non_terminal(String) - Constructor for class java_cup.non_terminal
-
Constructor with default type.
- nonassoc - Static variable in class java_cup.assoc
-
- NONASSOC - Static variable in class java_cup.parse_action
-
Constants for action type -- reduce action.
- nonassoc_action - Class in java_cup
-
This class represents a shift/reduce nonassociative error within the
parse table.
- nonassoc_action() - Constructor for class java_cup.nonassoc_action
-
Simple constructor.
- NonTerminal(String, int, XMLElement...) - Constructor for class java_cup.runtime.XMLElement.NonTerminal
-
- 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 variable 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 variable in class java_cup.emit
-
Do we skip warnings?
- nullability_end - Static variable 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 variable 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.
- package_name - Static variable in class java_cup.emit
-
Package that the resulting code goes into (null is used for unnamed).
- parse() - Method in class java_cup.runtime.lr_parser
-
This method provides the main parsing routine.
- parse_action - Class in java_cup
-
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.
- parse_action_row - Class in java_cup
-
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.
- parse_action_table - Class in java_cup
-
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(String[]) - Static method in class java_cup.Main
-
Parse command line options and arguments to set various user-option
flags and variables.
- parse_end - Static variable 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.
- parse_lookahead(boolean) - Method in class java_cup.runtime.lr_parser
-
Parse forward using stored lookahead Symbols.
- parse_reduce_row - Class in java_cup
-
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.
- parse_reduce_table - Class in java_cup
-
This class represents the complete "reduce-goto" table of the parser.
- parse_reduce_table() - Constructor for class java_cup.parse_reduce_table
-
Simple constructor.
- parse_state - Variable in class java_cup.runtime.Symbol
-
The parse state to be recorded on the parse stack with this symbol.
- parser(PrintWriter, parse_action_table, parse_reduce_table, int, production, boolean, boolean) - Static method in class java_cup.emit
-
Emit the parser subclass with embedded tables.
- parser_class_file - Static variable in class java_cup.Main
-
Output file for the parser class.
- parser_class_name - Static variable in class java_cup.emit
-
Name of the generated parser class.
- parser_code - Static variable in class java_cup.emit
-
User declarations for direct inclusion in parser class.
- parser_time - Static variable 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.
- pop() - Method in class java_cup.runtime.virtual_parse_stack
-
Pop the stack.
- 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 variable in class java_cup.emit
-
The prefix placed on names that pollute someone else's name space.
- prelim_end - Static variable in class java_cup.Main
-
Timing data -- when did we end preliminaries
- print_progress - Static variable in class java_cup.Main
-
User option -- do we print progress messages.
- production - Class in java_cup
-
This class represents a production in the grammar.
- production(non_terminal, production_part[], int, String) - Constructor for class java_cup.production
-
Full constructor.
- production(non_terminal, production_part[], int) - Constructor for class java_cup.production
-
Constructor with no action string.
- production(non_terminal, production_part[], int, String, int, int) - Constructor for class java_cup.production
-
- production(non_terminal, production_part[], int, int, int) - Constructor for class java_cup.production
-
- production_part - Class in java_cup
-
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_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).
- production_table_time - Static variable 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 variable 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(terminal_set) - Method in class java_cup.lalr_item
-
Propagate incoming lookaheads through this item to others need to
be changed.
- propagate_lookaheads() - Method in class java_cup.lalr_state
-
Propagate lookahead sets out of this state.
- push(int) - Method in class java_cup.runtime.virtual_parse_stack
-
Push a state number onto the stack.
- 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 - Static variable in class java_cup.parse_action
-
Constants for action type -- reduce action.
- reduce_action - Class in java_cup
-
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 variable in class java_cup.Main
-
Timing data -- when did we end checking for non-reduced productions
- reduce_tab - Variable in class java_cup.runtime.lr_parser
-
Direct reference to the reduce-goto table.
- reduce_table - Static variable in class java_cup.Main
-
Resulting reduce-goto table.
- reduce_table() - Method in class java_cup.runtime.lr_parser
-
The reduce-goto table (supplied by generated subclass).
- reduce_with() - Method in class java_cup.reduce_action
-
The production we reduce with.
- reduction_count - Static variable 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.
- report_error(String, Object) - Method in class java_cup.runtime.lr_parser
-
Report a non fatal error (or warning).
- report_expected_token_ids() - Method in class java_cup.runtime.lr_parser
-
- report_fatal_error(String, Object) - Method in class java_cup.runtime.lr_parser
-
Report a fatal error.
- report_reduce_reduce(lalr_item, lalr_item) - Method in class java_cup.lalr_state
-
Produce a warning message for one reduce/reduce conflict.
- report_shift_reduce(lalr_item, int) - Method in class java_cup.lalr_state
-
Produce a warning message for one shift/reduce conflict.
- 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).
- 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 variable in class java_cup.assoc
-
- right - Variable in class java_cup.runtime.Symbol
-
The data passed to parser
- right() - Method in class java_cup.runtime.XMLElement.Error
-
- right() - Method in class java_cup.runtime.XMLElement.NonTerminal
-
- right() - Method in class java_cup.runtime.XMLElement
-
- right() - Method in class java_cup.runtime.XMLElement.Terminal
-
- scan() - Method in class java_cup.runtime.lr_parser
-
Get the next Symbol from the input (supplied by generated subclass).
- scan_code - Static variable in class java_cup.emit
-
User code for scan() which is called to get the next Symbol.
- Scanner - Interface in java_cup.runtime
-
Defines the Scanner interface, which CUP uses in the default
implementation of lr_parser.scan()
.
- ScannerBuffer - Class in java_cup.runtime
-
- ScannerBuffer(Scanner) - Constructor for class java_cup.runtime.ScannerBuffer
-
Wraps around a custom scanner and stores all so far produced tokens in a buffer
- selectById(String) - Method in class java_cup.runtime.XMLElement.Error
-
- selectById(String) - Method in class java_cup.runtime.XMLElement.NonTerminal
-
- selectById(String) - Method in class java_cup.runtime.XMLElement
-
- selectById(String) - Method in class java_cup.runtime.XMLElement.Terminal
-
- set_code_string(String) - Method in class java_cup.action_part
-
Set the code string.
- set_genericlabels(boolean) - Static method in class java_cup.emit
-
- set_locations(boolean) - Static method in class java_cup.emit
-
- 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
-
- set_xmlactions(boolean) - Static method in class java_cup.emit
-
- setCompact_red(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of compact_red
- setDebug(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of debug
- setDebugSymbols(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of debug
- setDestdir(String) - Method in class java_cup.anttask.CUPTask
-
Sets the value of destdir
- setDump(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of dump
- setDump_grammar(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of dump_grammar
- setDump_states(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of dump_states
- setDump_tables(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of dump_tables
- setExpect(String) - Method in class java_cup.anttask.CUPTask
-
Sets the value of expect
- setForce(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of force
- setGenericlabels(boolean) - Method in class java_cup.anttask.CUPTask
-
- setInterface(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of _interface
- setLocations(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of locations
- setNonterms(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of nonterms
- setNopositions(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of nopositions
- setNoscanner(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of noscanner
- setNosummary(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of nosummary
- setNowarn(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of nowarn
- setPackage(String) - Method in class java_cup.anttask.CUPTask
-
Sets the value of _package
- setParser(String) - Method in class java_cup.anttask.CUPTask
-
Sets the value of parser
- setProgress(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of progress
- setQuiet(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of quiet
- setScanner(Scanner) - Method in class java_cup.runtime.lr_parser
-
Simple accessor method to set the default scanner.
- setSrcfile(String) - Method in class java_cup.anttask.CUPTask
-
Set the Srcfile value.
- setSymbols(String) - Method in class java_cup.anttask.CUPTask
-
Sets the value of symbols
- setTime(boolean) - Method in class java_cup.anttask.CUPTask
-
Sets the value of time
- setXmlactions(boolean) - Method in class java_cup.anttask.CUPTask
-
- 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 - Static variable in class java_cup.parse_action
-
Constant for action type -- shift action.
- shift_action - Class in java_cup
-
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.
- 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.
- 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 - Variable in class java_cup.runtime.lr_parser
-
The parse stack itself.
- 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 variable in class java_cup.non_terminal
-
special non-terminal for start symbol
- start_production - Static variable in class java_cup.emit
-
The start production of the grammar.
- start_production() - Method in class java_cup.runtime.lr_parser
-
The index of the start production (supplied by generated subclass).
- start_state - Static variable in class java_cup.Main
-
Start state in the overall state machine.
- start_state() - Method in class java_cup.runtime.lr_parser
-
The index of the start state (supplied by generated subclass).
- start_time - Static variable in class java_cup.Main
-
Timing data -- when did we start
- startSymbol(String, int, int) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- startSymbol(String, int, int) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- startSymbol(String, int, int) - Method in interface java_cup.runtime.SymbolFactory
-
newSymbol
creates the start symbol
- strip_trailing_action(production_part[], int) - Method in class java_cup.production
-
Helper routine to strip a trailing action off rhs and return it
- suppress_scanner - Static variable in class java_cup.Main
-
User option -- should generator suppress references to
java_cup.runtime.Scanner for compatibility with old runtimes?
- sym - Variable in class java_cup.runtime.Symbol
-
The symbol number of the terminal or non terminal being represented
- sym_interface - Static variable in class java_cup.Main
-
User option -- should symbols be put in a class or an interface? [CSA]
- symbl_name_from_id(int) - Method in class java_cup.runtime.lr_parser
-
Translates numerical symbol ids to the (non)terminal names from the spec
- Symbol - Class in java_cup.runtime
-
Defines the Symbol class, which is used to represent all terminals
and nonterminals while parsing.
- Symbol(int, Symbol, Symbol, Object) - Constructor for class java_cup.runtime.Symbol
-
- Symbol(int, Symbol, Symbol) - Constructor for class java_cup.runtime.Symbol
-
- Symbol(int, Symbol, Object) - Constructor for class java_cup.runtime.Symbol
-
- 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 - Class in java_cup
-
This abstract class serves as the base class for grammar symbols (i.e.,
both terminals and non-terminals).
- symbol(String, String) - Constructor for class java_cup.symbol
-
Full constructor.
- symbol(String) - Constructor for class java_cup.symbol
-
Constructor with default type.
- symbol_after_dot() - Method in class java_cup.lr_item_core
-
Return the symbol after the dot.
- symbol_class_file - Static variable in class java_cup.Main
-
Output file for the symbol constant class.
- symbol_const_class_name - Static variable in class java_cup.emit
-
Name of the generated class for symbol constants.
- symbol_part - Class in java_cup
-
This class represents a part of a production which is a symbol (terminal
or non terminal).
- symbol_part(symbol, String) - Constructor for class java_cup.symbol_part
-
Full constructor.
- symbol_part(symbol) - Constructor for class java_cup.symbol_part
-
Constructor with no label.
- symbol_set - Class in java_cup
-
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.
- symbolFactory - Variable in class java_cup.runtime.lr_parser
-
- SymbolFactory - Interface in java_cup.runtime
-
Creates the Symbols interface, which CUP uses as default
- 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 variable in class java_cup.emit
-
Time to produce symbol constant class.
- 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.
- table_end - Static variable in class java_cup.Main
-
Timing data -- when did we end table construction
- tagname - Variable in class java_cup.runtime.XMLElement
-
- Terminal(ComplexSymbolFactory.Location, String, ComplexSymbolFactory.Location) - Constructor for class java_cup.runtime.XMLElement.Terminal
-
- Terminal(ComplexSymbolFactory.Location, String, Object, ComplexSymbolFactory.Location) - Constructor for class java_cup.runtime.XMLElement.Terminal
-
- terminal - Class in java_cup
-
This class represents a terminal symbol in the grammar.
- terminal(String, String, int, int) - Constructor for class java_cup.terminal
-
Full constructor.
- terminal(String, String) - Constructor for class java_cup.terminal
-
Constructor for non-precedented terminal
- terminal(String) - Constructor for class java_cup.terminal
-
Constructor with default type.
- terminal_set - Class in java_cup
-
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 variable 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.
- 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).
- 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.runtime.ComplexSymbolFactory.ComplexSymbol
-
- toString() - Method in class java_cup.runtime.ComplexSymbolFactory.Location
-
getLine
- toString() - Method in class java_cup.runtime.Symbol
-
Printing this token out.
- toString() - Method in class java_cup.runtime.XMLElement.Error
-
- toString() - Method in class java_cup.runtime.XMLElement.NonTerminal
-
- toString() - Method in class java_cup.runtime.XMLElement.Terminal
-
- 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.
- toXML(XMLStreamWriter, String) - Method in class java_cup.runtime.ComplexSymbolFactory.Location
-
Writes the location information directly into an XML document
- transitions() - Method in class java_cup.lalr_state
-
List of transitions out of this state.
- 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.
- 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.
- _action - Variable in class java_cup.production
-
An action_part containing code for the action to be performed when we
reduce with this production.
- _all - Variable in class java_cup.lalr_item_set
-
A hash table to implement the set.
- _all - Static variable in class java_cup.lalr_state
-
Collection of all states.
- _all - Static variable in class java_cup.non_terminal
-
Table of all non-terminals -- elements are stored using name strings
as the key
- _all - Static variable in class java_cup.production
-
Table of all productions.
- _all - Variable in class java_cup.symbol_set
-
A hash table to hold the set.
- _all - Static variable in class java_cup.terminal
-
Table of all terminals.
- _all_by_index - Static variable in class java_cup.non_terminal
-
Table of all non terminals indexed by their index number.
- _all_by_index - Static variable in class java_cup.terminal
-
Table of all terminals indexed by their index number.
- _all_kernels - Static variable 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 - Variable in class java_cup.action_production
-
The production we were taken out of.
- _code_string - Variable in class java_cup.action_part
-
String containing code for the action in question.
- _core_hash_cache - Variable in class java_cup.lr_item_core
-
Cache of the hash code.
- _done_parsing - Variable in class java_cup.runtime.lr_parser
-
Internal flag to indicate when parser should quit.
- _dot_pos - Variable 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 - Variable in class java_cup.terminal_set
-
Bitset to implement the actual set.
- _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.
- _first_set - Variable in class java_cup.non_terminal
-
First set for this non-terminal.
- _first_set - Variable in class java_cup.production
-
First set of the production.
- _genericlabels - Static variable in class java_cup.emit
-
- _index - Variable in class java_cup.lalr_state
-
Index of this state in the parse tables
- _index - Variable in class java_cup.production
-
Index number of the production.
- _index - Variable in class java_cup.symbol
-
Index of this symbol (terminal or non terminal) in the parse tables.
- _items - Variable in class java_cup.lalr_state
-
The item set for this state.
- _label - Variable in class java_cup.production_part
-
Optional label for referring to the part within an action (null for
no label).
- _lhs - Variable in class java_cup.production
-
The left hand side non-terminal.
- _locations - Static variable in class java_cup.emit
-
- _lookahead - Variable in class java_cup.lalr_item
-
The lookahead symbols of the item.
- _lr_values - Static variable in class java_cup.emit
-
- _name - Variable in class java_cup.symbol
-
String for the human readable name of the symbol.
- _next - Variable in class java_cup.lalr_transition
-
Next transition in linked list of transitions out of a state
- _nullable - Variable in class java_cup.non_terminal
-
Nullability of this non terminal.
- _nullable - Variable in class java_cup.production
-
Nullability of the production (can it derive the empty string).
- _nullable_known - Variable in class java_cup.production
-
Is the nullability of the production known or unknown?
- _num_reductions - Variable in class java_cup.production
-
Count of number of reductions using this production.
- _num_states - Variable in class java_cup.parse_action_table
-
How many rows/states are in the machine/table.
- _num_states - Variable in class java_cup.parse_reduce_table
-
How many rows/states in the machine/table.
- _on_symbol - Variable in class java_cup.lalr_transition
-
The symbol we make the transition on.
- _productions - Variable in class java_cup.non_terminal
-
Table of all productions with this non terminal on the LHS.
- _propagate_items - Variable in class java_cup.lalr_item
-
Links to items that the lookahead needs to be propagated to.
- _reduce_with - Variable in class java_cup.reduce_action
-
The production we reduce with.
- _rhs - Variable in class java_cup.production
-
A collection of parts for the right hand side.
- _rhs_assoc - Variable in class java_cup.production
-
- _rhs_length - Variable in class java_cup.production
-
How much of the right hand side array we are presently using.
- _rhs_prec - Variable in class java_cup.production
-
The precedence of the rule
- _shift_to - Variable in class java_cup.shift_action
-
The state we shift to.
- _size - Static variable in class java_cup.parse_action_row
-
Number of columns (terminals) in every row.
- _size - Static variable in class java_cup.parse_reduce_row
-
Number of columns (non terminals) in every row.
- _stack_type - Variable in class java_cup.symbol
-
String for the type of object used for the symbol on the parse stack.
- _symbol_after_dot - Variable in class java_cup.lr_item_core
-
Cache of symbol after the dot.
- _the_production - Variable in class java_cup.lr_item_core
-
The production for the item.
- _the_symbol - Variable in class java_cup.symbol_part
-
The symbol that this part is made up of.
- _to_state - Variable in class java_cup.lalr_transition
-
The state we transition to.
- _transitions - Variable in class java_cup.lalr_state
-
List of transitions out of this state.
- _use_count - Variable in class java_cup.symbol
-
Count of how many times the symbol appears in productions.
- _xmlactions - Static variable in class java_cup.emit
-