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

A

A1 - Static variable in class CgenSupport
 
ACC - Static variable in class CgenSupport
 
ACTION - Static variable in class java_cup.sym
 
ADD - Static variable in class CgenSupport
 
ADDI - Static variable in class CgenSupport
 
ADDIU - Static variable in class CgenSupport
 
ADDU - Static variable in class CgenSupport
 
ALIGN - Static variable in class CgenSupport
 
ASSIGN - Static variable in class ASTConstants
 
ASSIGN - Static variable in class TokenConstants
 
ASTConstants - class ASTConstants.
CUP generated class containing symbol constants.
ASTConstants() - Constructor for class ASTConstants
 
ASTLexer - class ASTLexer.
 
ASTLexer(Reader) - Constructor for class ASTLexer
 
ASTLexer(InputStream) - Constructor for class ASTLexer
 
ASTLexer() - Constructor for class ASTLexer
 
ASTParser - class ASTParser.
CUP v0.10k generated parser.
ASTParser() - Constructor for class ASTParser
Default constructor.
ASTParser(Scanner) - Constructor for class ASTParser
Constructor which sets the default scanner.
AT - Static variable in class TokenConstants
 
ATTR - Static variable in class ASTConstants
 
ATTRIBUTE - Static variable in class VariableInfo
 
AbstractSymbol - class AbstractSymbol.
String table entry There are three kinds of string table entries: a true string, a string representation of an identifier, and a string representation of an integer.
AbstractSymbol(String, int, int) - Constructor for class AbstractSymbol
Constructs a new table entry.
AbstractTable - class AbstractTable.
Abstract string table implementation.
AbstractTable() - Constructor for class AbstractTable
 
absolute_position - Static variable in class java_cup.lexer
Character position in current line.
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_obj - Variable in class ASTParser
Instance of action encapsulation class.
action_obj - Variable in class java_cup.parser
Instance of action encapsulation class.
action_obj - Variable in class java_cup.simple_calc.parser
Instance of action encapsulation 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.
action_production - class java_cup.action_production.
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) - 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() - Method in class ASTParser
Access to parse-action table.
action_table - Static variable in class java_cup.Main
Resulting parse action table.
action_table() - Method in class java_cup.parser
Access to parse-action table.
action_table() - Method in class java_cup.runtime.lr_parser
The action table (supplied by generated subclass).
action_table() - Method in class java_cup.simple_calc.parser
Access to parse-action table.
action_table_time - Static variable in class java_cup.emit
Time to produce the action table.
actual - Variable in class dispatch
 
actual - Variable in class static_dispatch
 
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.
addChild(CgenNode) - Method in class CgenNode
 
addElement(TreeNode) - Method in class ListNode
Appends an element to the list.
addId(AbstractSymbol, Object) - Method in class SymbolTable
Adds a new entry to the symbol table.
addInt(int) - Method in class AbstractTable
Adds the string representation of the specified integer to this string table
addString(String, int) - Method in class AbstractTable
Adds prefix of the specified length to this string table
addString(String) - Method in class AbstractTable
Adds the specified string to this string table
add_lab(production_part, String) - Method in class java_cup.CUP$parser$actions
helper routine to clone a new production part adding a given label
add_precedence(String) - Method in class java_cup.CUP$parser$actions
add relevant data to terminals
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_rhs_part(production_part) - Method in class java_cup.CUP$parser$actions
add a new right hand side part
add_transition(symbol, lalr_state) - Method in class java_cup.lalr_state
Add a transition out of this state to another.
advance() - Static method in class java_cup.lexer
Advance the scanner one character in the input stream.
advance() - Method in class java_cup.simple_calc.scanner
 
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.
appendElement(TreeNode) - Method in class Cases
Appends "Case" element to this list
appendElement(TreeNode) - Method in class Classes
Appends "Class_" element to this list
appendElement(TreeNode) - Method in class Expressions
Appends "Expression" element to this list
appendElement(TreeNode) - Method in class Features
Appends "Feature" element to this list
appendElement(TreeNode) - Method in class Formals
Appends "Formal" element to this list
append_multipart(String) - Method in class java_cup.CUP$parser$actions
append a new name segment to the accumulated multipart name
arg - Static variable in class TreeConstants
 
arg2 - Static variable in class TreeConstants
 
ascii - Static variable in class CgenSupport
 
asciiMode(PrintStream) - Static method in class CgenSupport
Switch output mode to ASCII.
assign - class assign.
Defines AST constructor 'assign'.
assign(int, AbstractSymbol, Expression) - Constructor for class assign
Creates "assign" AST node.
assoc - class java_cup.assoc.
 
assoc() - Constructor for class java_cup.assoc
 
attr - class attr.
Defines AST constructor 'attr'.
attr(int, AbstractSymbol, AbstractSymbol, Expression) - Constructor for class attr
Creates "attr" AST node.
author_str - Static variable in class java_cup.version
Name of the author

B

BAR - Static variable in class java_cup.sym
 
BEQ - Static variable in class CgenSupport
 
BEQZ - Static variable in class CgenSupport
 
BGT - Static variable in class CgenSupport
 
BLEQ - Static variable in class CgenSupport
 
BLOCK - Static variable in class ASTConstants
 
BLT - Static variable in class CgenSupport
 
BNE - Static variable in class CgenSupport
 
BOOL - Static variable in class ASTConstants
 
BOOLCONST_PREFIX - Static variable in class CgenSupport
 
BOOLTAG - Static variable in class CgenSupport
 
BOOL_CONST - Static variable in class TokenConstants
 
BOOL_SLOTS - Static variable in class CgenSupport
 
BRANCH - Static variable in class ASTConstants
 
BRANCH - Static variable in class CgenSupport
 
Basic - Static variable in class CgenNode
Indicates a basic class
Bool - Static variable in class TreeConstants
 
BoolConst - class BoolConst.
This clas encapsulates all aspects of code generation for boolean constatns.
BoolConst(boolean) - Constructor for class BoolConst
Creates a new boolean constant.
BoolConst(Boolean) - Constructor for class BoolConst
Creates a new boolean constant.
base_production() - Method in class java_cup.action_production
The production we were taken out of.
basic() - Method in class CgenNode
Returns true is this is a basic class.
basic_status - Variable in class CgenNode
Does this node correspond to a basic class?
block - class block.
Defines AST constructor 'block'.
block(int, Expressions) - Constructor for class block
Creates "block" AST node.
body - Variable in class block
 
body - Variable in class let
 
body - Variable in class loop
 
bool_const - class bool_const.
Defines AST constructor 'bool_const'.
bool_const(int, Boolean) - Constructor for class bool_const
Creates "bool_const" AST node.
boolclasstag - Variable in class CgenClassTable
 
branch - class branch.
Defines AST constructor 'branch'.
branch(int, AbstractSymbol, AbstractSymbol, Expression) - Constructor for class branch
Creates "branch" AST node.
buf - Variable in class ASTLexer
 
buildInheritanceTree() - Method in class CgenClassTable
 
build_end - Static variable 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.
build_table_entries(parse_action_table, parse_reduce_table) - Method in class java_cup.lalr_state
Fill in the parse table entries for this state.
byteMode(PrintStream) - Static method in class CgenSupport
Switch output mode to BYTE

C

CASE - Static variable in class TokenConstants
 
CLASS - Static variable in class ASTConstants
 
CLASS - Static variable in class TokenConstants
 
CLASSINIT_SUFFIX - Static variable in class CgenSupport
 
CLASSNAMETAB - Static variable in class CgenSupport
 
CLASSOBJTAB - Static variable in class CgenSupport
 
CODE - Static variable in class java_cup.sym
 
CODE_STRING - Static variable in class java_cup.sym
 
COLON - Static variable in class ASTConstants
 
COLON - Static variable in class TokenConstants
 
COLON - Static variable in class java_cup.sym
 
COLON_COLON_EQUALS - Static variable in class java_cup.sym
 
COMMA - Static variable in class TokenConstants
 
COMMA - Static variable in class java_cup.sym
 
COMP - Static variable in class ASTConstants
 
COND - Static variable in class ASTConstants
 
CUP$ASTParser$actions - class CUP$ASTParser$actions.
Cup generated class to encapsulate user supplied action code.
CUP$ASTParser$actions(ASTParser) - Constructor for class CUP$ASTParser$actions
Constructor
CUP$ASTParser$do_action(int, lr_parser, Stack, int) - Method in class CUP$ASTParser$actions
Method with the actual generated action code.
CUP$parser$actions - class java_cup.CUP$parser$actions.
Cup generated class to encapsulate user supplied action code.
CUP$parser$actions(parser) - Constructor for class java_cup.CUP$parser$actions
Constructor
CUP$parser$actions - class java_cup.simple_calc.CUP$parser$actions.
Cup generated class to encapsulate user supplied action code.
CUP$parser$actions(parser) - Constructor for class java_cup.simple_calc.CUP$parser$actions
Constructor
CUP$parser$do_action(int, lr_parser, Stack, int) - Method in class java_cup.CUP$parser$actions
Method with the actual generated action code.
CUP$parser$do_action(int, lr_parser, Stack, int) - Method in class java_cup.simple_calc.CUP$parser$actions
Method with the actual generated action code.
Case - class Case.
Defines simple phylum Case
Case(int) - Constructor for class Case
 
Cases - class Cases.
Defines list phylum Cases
Cases(int, Vector) - Constructor for class Cases
 
Cases(int) - Constructor for class Cases
Creates an empty "Cases" list
Cgen - class Cgen.
Static semantics driver class
Cgen() - Constructor for class Cgen
 
CgenClassTable - class CgenClassTable.
This class is used for representing the inheritance tree during code generation.
CgenClassTable(Classes, PrintStream) - Constructor for class CgenClassTable
Constructs a new class table and invokes the code generator
CgenNode - class CgenNode.
 
CgenNode(Class_, int, CgenClassTable) - Constructor for class CgenNode
Constructs a new CgenNode to represent class "c".
CgenSupport - class CgenSupport.
This class aggregates all kinds of support routines and constants for the code generator; all routines are statics, so no instance of this class is even created.
CgenSupport() - Constructor for class CgenSupport
 
ClassTable - class ClassTable.
This class may be used to contain the semantic information such as the inheritance graph.
ClassTable(Classes) - Constructor for class ClassTable
 
Class_ - class Class_.
Defines simple phylum Class_
Class_(int) - Constructor for class Class_
 
Classes - class Classes.
Defines list phylum Classes
Classes(int, Vector) - Constructor for class Classes
 
Classes(int) - Constructor for class Classes
Creates an empty "Classes" list
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.
cases - Variable in class typcase
 
cgen(PrintStream) - Method in class Program
 
cgen(PrintStream) - Method in class program
This method is the entry point to the code generator.
cgen_Memmgr - Static variable in class Flags
Garbage collector flag (default GC_NOGC)
cgen_Memmgr_Debug - Static variable in class Flags
Garbage collector debugging flag (default GC_QUICK)
cgen_Memmgr_Test - Static variable in class Flags
Garbage collector testing flag (default GC_NORMAL)
cgen_debug - Static variable in class Flags
Enable code gen debugging
cgen_optimize - Static variable in class Flags
Code optimization flag
char_symbols - Static variable in class java_cup.lexer
Table of single character symbols.
checkTables - Static variable in class Utilities
 
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.
children - Variable in class CgenNode
The children of this node in the inheritance tree
class_ - class class_.
Defines AST constructor 'class_'.
class_(int, AbstractSymbol, AbstractSymbol, Features, AbstractSymbol) - Constructor for class class_
Creates "class_" AST node.
classes - Variable in class program
 
clone() - Method in class AbstractSymbol
Returns a copy of this symbol
clone() - Method in class IdSymbol
Returns a copy of this symbol
clone() - Method in class IntSymbol
Returns a copy of this symbol
clone() - Method in class StringSymbol
Returns a copy of this symbol
close_files() - Static method in class java_cup.Main
Close various files used by the system.
code() - Method in class CgenClassTable
This method is the meat of the code generator.
code(PrintStream) - Method in class Expression
 
code(PrintStream) - Method in class assign
Generates code for this expression.
code(PrintStream) - Method in class block
Generates code for this expression.
code(PrintStream) - Method in class bool_const
Generates code for this expression.
code(PrintStream) - Method in class comp
Generates code for this expression.
code(PrintStream) - Method in class cond
Generates code for this expression.
code(PrintStream) - Method in class dispatch
Generates code for this expression.
code(PrintStream) - Method in class divide
Generates code for this expression.
code(PrintStream) - Method in class eq
Generates code for this expression.
code(PrintStream) - Method in class int_const
Generates code for this expression.
code(PrintStream) - Method in class isvoid
Generates code for this expression.
code(PrintStream) - Method in class leq
Generates code for this expression.
code(PrintStream) - Method in class let
Generates code for this expression.
code(PrintStream) - Method in class loop
Generates code for this expression.
code(PrintStream) - Method in class lt
Generates code for this expression.
code(PrintStream) - Method in class mul
Generates code for this expression.
code(PrintStream) - Method in class neg
Generates code for this expression.
code(PrintStream) - Method in class new_
Generates code for this expression.
code(PrintStream) - Method in class no_expr
Generates code for this expression.
code(PrintStream) - Method in class object
Generates code for this expression.
code(PrintStream) - Method in class plus
Generates code for this expression.
code(PrintStream) - Method in class static_dispatch
Generates code for this expression.
code(PrintStream) - Method in class string_const
Generates code for this expression.
code(PrintStream) - Method in class sub
Generates code for this expression.
code(PrintStream) - Method in class typcase
Generates code for this expression.
codeBools(int) - Method in class CgenClassTable
Emits code definitions for boolean constants.
codeConstants() - Method in class CgenClassTable
Emits code to reserve space for and initialize all of the constants.
codeDef(int, PrintStream) - Method in class BoolConst
Generates code for the boolean constant definition.
codeDef(int, PrintStream) - Method in class IntSymbol
Generates code for the integer constant definition.
codeDef(int, PrintStream) - Method in class StringSymbol
Generates code for the string constant definition.
codeGlobalData() - Method in class CgenClassTable
Emits code to start the .data segment and to declare the global names.
codeGlobalText() - Method in class CgenClassTable
Emits code to start the .text segment and to declare the global names.
codeRef(PrintStream) - Method in class BoolConst
Emits a reference to this boolean constant.
codeRef(PrintStream) - Method in class IntSymbol
Emits a reference to this integer constant.
codeRef(PrintStream) - Method in class StringSymbol
Emits a reference to this string constant.
codeSelectGc() - Method in class CgenClassTable
Generates GC choice constants (pointers to GC functions)
codeStringTable(int, PrintStream) - Method in class IntTable
Generates code for all int constants in the int table.
codeStringTable(int, PrintStream) - Method in class StringTable
Generates code for all string constants in the string table.
code_string() - Method in class java_cup.action_part
String containing code for the action in question.
comp - class comp.
Defines AST constructor 'comp'.
comp(int, Expression) - Constructor for class comp
Creates "comp" AST node.
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.
concat - Static variable in class TreeConstants
 
cond - class cond.
Defines AST constructor 'cond'.
cond(int, Expression, Expression, Expression) - Constructor for class cond
Creates "cond" AST node.
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.
cool_abort - Static variable in class TreeConstants
 
copy() - Method in class Cases
 
copy() - Method in class Classes
 
copy() - Method in class Expressions
 
copy() - Method in class Features
 
copy() - Method in class Formals
 
copy - Static variable in class TreeConstants
 
copy() - Method in class TreeNode
Creates a copy of this node.
copy() - Method in class assign
 
copy() - Method in class attr
 
copy() - Method in class block
 
copy() - Method in class bool_const
 
copy() - Method in class branch
 
copy() - Method in class class_
 
copy() - Method in class comp
 
copy() - Method in class cond
 
copy() - Method in class dispatch
 
copy() - Method in class divide
 
copy() - Method in class eq
 
copy() - Method in class formal
 
copy() - Method in class int_const
 
copy() - Method in class isvoid
 
copy() - Method in class leq
 
copy() - Method in class let
 
copy() - Method in class loop
 
copy() - Method in class lt
 
copy() - Method in class method
 
copy() - Method in class mul
 
copy() - Method in class neg
 
copy() - Method in class new_
 
copy() - Method in class no_expr
 
copy() - Method in class object
 
copy() - Method in class plus
 
copy() - Method in class program
 
copy() - Method in class static_dispatch
 
copy() - Method in class string_const
 
copy() - Method in class sub
 
copy() - Method in class typcase
 
copyElements() - Method in class ListNode
Creates a deep copy of this list.
copy_AbstractSymbol(AbstractSymbol) - Method in class TreeNode
Copies an AbstractSymbol value.
copy_Boolean(Boolean) - Method in class TreeNode
Copies a boolean value.
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.
create_new(String) - Static method in class java_cup.non_terminal
Method for creating a new uniquely named hidden non-terminal using the given string as a base for the name (or "NT$" if null is passed).
create_new() - Static method in class java_cup.non_terminal
static routine for creating a new uniquely named hidden non-terminal
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.
curr_lineno - Variable in class CUP$ASTParser$actions
 
current_line - Static variable in class java_cup.lexer
Current line number for use in error messages.
current_position - Static variable in class java_cup.lexer
Character position in current line.

D

DARROW - Static variable in class TokenConstants
 
DEFAULT_OBJFIELDS - Static variable in class CgenSupport
 
DISPATCH - Static variable in class ASTConstants
 
DISPTABLE_OFFSET - Static variable in class CgenSupport
 
DISPTAB_SUFFIX - Static variable in class CgenSupport
 
DIV - Static variable in class CgenSupport
 
DIV - Static variable in class TokenConstants
 
DIVIDE - Static variable in class ASTConstants
 
DIVIDE - Static variable in class java_cup.simple_calc.sym
 
DOT - Static variable in class TokenConstants
 
DOT - Static variable in class java_cup.sym
 
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_next_token() - Static method in class java_cup.lexer
Debugging version of next_token().
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.
dispatch - class dispatch.
Defines AST constructor 'dispatch'.
dispatch(int, Expression, AbstractSymbol, Expressions) - Constructor for class dispatch
Creates "dispatch" AST node.
divide - class divide.
Defines AST constructor 'divide'.
divide(int, Expression, Expression) - Constructor for class divide
Creates "divide" AST node.
do_action(int, lr_parser, Stack, int) - Method in class ASTParser
Invoke a user supplied parse action.
do_action(int, lr_parser, Stack, int) - Method in class java_cup.parser
Invoke a user supplied parse action.
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(int, lr_parser, Stack, int) - Method in class java_cup.simple_calc.parser
Invoke a user supplied parse action.
do_action_table(PrintWriter, parse_action_table, boolean) - Static method in class java_cup.emit
Emit the action table.
do_code_string() - Static method in class java_cup.lexer
Swallow up a code string.
do_debug_parse - Static variable in class java_cup.simple_calc.Main
 
do_escaped(PrintWriter, char) - Static method in class java_cup.emit
 
do_id() - Static method in class java_cup.lexer
Process an identifier.
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(PrintStream, int) - Method in class ListNode
Pretty-prints this list to this output stream.
dump(PrintStream, int) - Method in class TreeNode
Pretty-prints this node to this output stream.
dump(PrintStream, int) - Method in class assign
 
dump(PrintStream, int) - Method in class attr
 
dump(PrintStream, int) - Method in class block
 
dump(PrintStream, int) - Method in class bool_const
 
dump(PrintStream, int) - Method in class branch
 
dump(PrintStream, int) - Method in class class_
 
dump(PrintStream, int) - Method in class comp
 
dump(PrintStream, int) - Method in class cond
 
dump(PrintStream, int) - Method in class dispatch
 
dump(PrintStream, int) - Method in class divide
 
dump(PrintStream, int) - Method in class eq
 
dump(PrintStream, int) - Method in class formal
 
dump(PrintStream, int) - Method in class int_const
 
dump(PrintStream, int) - Method in class isvoid
 
dump(PrintStream, int) - Method in class leq
 
dump(PrintStream, int) - Method in class let
 
dump(PrintStream, int) - Method in class loop
 
dump(PrintStream, int) - Method in class lt
 
dump(PrintStream, int) - Method in class method
 
dump(PrintStream, int) - Method in class mul
 
dump(PrintStream, int) - Method in class neg
 
dump(PrintStream, int) - Method in class new_
 
dump(PrintStream, int) - Method in class no_expr
 
dump(PrintStream, int) - Method in class object
 
dump(PrintStream, int) - Method in class plus
 
dump(PrintStream, int) - Method in class program
 
dump(PrintStream, int) - Method in class static_dispatch
 
dump(PrintStream, int) - Method in class string_const
 
dump(PrintStream, int) - Method in class sub
 
dump(PrintStream, int) - Method in class typcase
 
dumpToken(PrintStream, int, Symbol) - Static method in class Utilities
Dumps a token to the specified stream
dump_AbstractSymbol(PrintStream, int, AbstractSymbol) - Method in class TreeNode
Dumps a printable representation of an AbstactSymbol value.
dump_Boolean(PrintStream, int, Boolean) - Method in class TreeNode
Dumps a printable representation of a boolean value.
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_line(PrintStream, int) - Method in class TreeNode
Dumps a printable representation of current line number This method is used internally by the generated AST classes
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
dump_type(PrintStream, int) - Method in class Expression
 
dump_with_types(PrintStream, int) - Method in class Case
 
dump_with_types(PrintStream, int) - Method in class Class_
 
dump_with_types(PrintStream, int) - Method in class Expression
 
dump_with_types(PrintStream, int) - Method in class Feature
 
dump_with_types(PrintStream, int) - Method in class Formal
 
dump_with_types(PrintStream, int) - Method in class Program
 
dump_with_types(PrintStream, int) - Method in class assign
 
dump_with_types(PrintStream, int) - Method in class attr
 
dump_with_types(PrintStream, int) - Method in class block
 
dump_with_types(PrintStream, int) - Method in class bool_const
 
dump_with_types(PrintStream, int) - Method in class branch
 
dump_with_types(PrintStream, int) - Method in class class_
 
dump_with_types(PrintStream, int) - Method in class comp
 
dump_with_types(PrintStream, int) - Method in class cond
 
dump_with_types(PrintStream, int) - Method in class dispatch
 
dump_with_types(PrintStream, int) - Method in class divide
 
dump_with_types(PrintStream, int) - Method in class eq
 
dump_with_types(PrintStream, int) - Method in class formal
 
dump_with_types(PrintStream, int) - Method in class int_const
 
dump_with_types(PrintStream, int) - Method in class isvoid
 
dump_with_types(PrintStream, int) - Method in class leq
 
dump_with_types(PrintStream, int) - Method in class let
 
dump_with_types(PrintStream, int) - Method in class loop
 
dump_with_types(PrintStream, int) - Method in class lt
 
dump_with_types(PrintStream, int) - Method in class method
 
dump_with_types(PrintStream, int) - Method in class mul
 
dump_with_types(PrintStream, int) - Method in class neg
 
dump_with_types(PrintStream, int) - Method in class new_
 
dump_with_types(PrintStream, int) - Method in class no_expr
 
dump_with_types(PrintStream, int) - Method in class object
 
dump_with_types(PrintStream, int) - Method in class plus
 
dump_with_types(PrintStream, int) - Method in class program
 
dump_with_types(PrintStream, int) - Method in class static_dispatch
 
dump_with_types(PrintStream, int) - Method in class string_const
 
dump_with_types(PrintStream, int) - Method in class sub
 
dump_with_types(PrintStream, int) - Method in class typcase
 

E

ELSE - Static variable in class TokenConstants
 
EMPTY - Static variable in class java_cup.terminal_set
Constant for the empty set.
EMPTYSLOT - Static variable in class CgenSupport
 
EOF - Static variable in class ASTConstants
 
EOF - Static variable in class TokenConstants
 
EOF - Static variable in class java_cup.simple_calc.sym
 
EOF - Static variable in class java_cup.sym
 
EOF - Static variable in class java_cup.terminal
Special terminal for end of input.
EOF_CHAR - Static variable in class java_cup.lexer
EOF constant.
EOF_sym() - Method in class ASTParser
EOF Symbol index.
EOF_sym() - Method in class java_cup.parser
EOF Symbol index.
EOF_sym() - Method in class java_cup.runtime.lr_parser
The index of the end of file terminal Symbol (supplied by generated subclass).
EOF_sym() - Method in class java_cup.simple_calc.parser
EOF Symbol index.
EQ - Static variable in class ASTConstants
 
EQ - Static variable in class TokenConstants
 
ERROR - Static variable in class TokenConstants
 
ERROR - Static variable in class java_cup.parse_action
Constant for action type -- error action.
ESAC - Static variable in class TokenConstants
 
Expression - class Expression.
Defines simple phylum Expression
Expression(int) - Constructor for class Expression
 
Expressions - class Expressions.
Defines list phylum Expressions
Expressions(int, Vector) - Constructor for class Expressions
 
Expressions(int) - Constructor for class Expressions
Creates an empty "Expressions" list
e1 - Variable in class comp
 
e1 - Variable in class divide
 
e1 - Variable in class eq
 
e1 - Variable in class isvoid
 
e1 - Variable in class leq
 
e1 - Variable in class lt
 
e1 - Variable in class mul
 
e1 - Variable in class neg
 
e1 - Variable in class plus
 
e1 - Variable in class sub
 
e2 - Variable in class divide
 
e2 - Variable in class eq
 
e2 - Variable in class leq
 
e2 - Variable in class lt
 
e2 - Variable in class mul
 
e2 - Variable in class plus
 
e2 - Variable in class sub
 
elementClass - Static variable in class Cases
 
elementClass - Static variable in class Classes
 
elementClass - Static variable in class Expressions
 
elementClass - Static variable in class Features
 
elementClass - Static variable in class Formals
 
elements - Variable in class ListNode
 
else_exp - Variable in class cond
 
emit - class java_cup.emit.
This class handles emitting generated code for the resulting parser.
emit() - Constructor for class java_cup.emit
Only constructor is private so no instances can be created.
emitAdd(String, String, String, PrintStream) - Static method in class CgenSupport
Emits an ADD instruction.
emitAddiu(String, String, int, PrintStream) - Static method in class CgenSupport
Emits an ADDIU instruction.
emitAddu(String, String, String, PrintStream) - Static method in class CgenSupport
Emits an ADDU instruction.
emitBeq(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BEQ instruction.
emitBeqz(String, int, PrintStream) - Static method in class CgenSupport
Emits a BEQZ instruction.
emitBgti(String, int, int, PrintStream) - Static method in class CgenSupport
Emits a BGTI instruction.
emitBleq(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BLEQ instruction.
emitBlt(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BLT instruction.
emitBlti(String, int, int, PrintStream) - Static method in class CgenSupport
Emits a BLTI instruction.
emitBne(String, String, int, PrintStream) - Static method in class CgenSupport
Emits a BNE instruction.
emitBranch(int, PrintStream) - Static method in class CgenSupport
Emits a BRANCH instruction.
emitDispTableRef(AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to dispatch table.
emitDiv(String, String, String, PrintStream) - Static method in class CgenSupport
Emits a DIV instruction.
emitFetchInt(String, String, PrintStream) - Static method in class CgenSupport
Emits code to fetch the integer value of the Integer object.
emitGCAssign(PrintStream) - Static method in class CgenSupport
Emits a call to gc_assign.
emitGCCheck(String, PrintStream) - Static method in class CgenSupport
Emits code to check the garbage collector
emitInitRef(AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to class' init() method.
emitJal(String, PrintStream) - Static method in class CgenSupport
Emits a JAL instruction.
emitJalr(String, PrintStream) - Static method in class CgenSupport
Emits a JALR instruction.
emitLabelDef(int, PrintStream) - Static method in class CgenSupport
Emits a definition of a label
emitLabelRef(int, PrintStream) - Static method in class CgenSupport
Emits a reference to a label
emitLoad(String, int, String, PrintStream) - Static method in class CgenSupport
Emits an LW instruction.
emitLoadAddress(String, String, PrintStream) - Static method in class CgenSupport
Emits an LA instruction.
emitLoadBool(String, BoolConst, PrintStream) - Static method in class CgenSupport
Emits an instruction to load a boolean constant into a register.
emitLoadImm(String, int, PrintStream) - Static method in class CgenSupport
Emits the LI instruction.
emitLoadInt(String, IntSymbol, PrintStream) - Static method in class CgenSupport
Emits an instruction to load an integer constant into a register.
emitLoadString(String, StringSymbol, PrintStream) - Static method in class CgenSupport
Emits an instruction to load a string constant into a register.
emitMethodRef(AbstractSymbol, AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to a method in a class
emitMove(String, String, PrintStream) - Static method in class CgenSupport
Emits a MOVE instruction.
emitMul(String, String, String, PrintStream) - Static method in class CgenSupport
Emits a MUL instruction.
emitNeg(String, String, PrintStream) - Static method in class CgenSupport
Emits a NEG instruction.
emitPartialLoadAddress(String, PrintStream) - Static method in class CgenSupport
Emits an LA instruction without the address part.
emitProtObjRef(AbstractSymbol, PrintStream) - Static method in class CgenSupport
Emits a reference to class' prototype object.
emitPush(String, PrintStream) - Static method in class CgenSupport
Emit a sequence of instructions to push a register onto stack.
emitReturn(PrintStream) - Static method in class CgenSupport
Emits a RET instruction.
emitSll(String, String, int, PrintStream) - Static method in class CgenSupport
Emits an SLL instruction.
emitStore(String, int, String, PrintStream) - Static method in class CgenSupport
Emits an SW instruction.
emitStoreInt(String, String, PrintStream) - Static method in class CgenSupport
Emits code to store the integer value of the Integer object.
emitStringConstant(String, PrintStream) - Static method in class CgenSupport
Emits a string constant.
emitSub(String, String, String, PrintStream) - Static method in class CgenSupport
Emits a SUB instruction.
emitTestCollector(PrintStream) - Static method in class CgenSupport
Emits code to manipulate garbage collector
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) - Static method in class java_cup.lexer
Emit an error message.
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_warn(String) - Static method in class java_cup.lexer
Emit a warning message.
empty() - Method in class java_cup.runtime.virtual_parse_stack
Indicate whether the stack is empty.
empty() - Method in class java_cup.terminal_set
Determine if the set is empty.
enterScope() - Method in class SymbolTable
Enters a new scope.
eq - class eq.
Defines AST constructor 'eq'.
eq(int, Expression, Expression) - Constructor for class eq
Creates "eq" AST node.
equalString(String, int) - Method in class AbstractSymbol
Tests if the string argument is equal to the string in this symbol.
equals(Object) - Method in class AbstractSymbol
Tests if two symbols are equal.
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.
equalsIndex(int) - Method in class AbstractSymbol
Tests if the index argument is equal to the index of this symbol.
error - Static variable in class ASTConstants
 
error - Static variable in class TokenConstants
 
error - Static variable in class java_cup.simple_calc.sym
 
error - Static variable in class java_cup.sym
 
error - Static variable in class java_cup.terminal
special terminal used for error recovery
errorStream - Variable in class ClassTable
 
error_count - Static variable in class java_cup.lexer
Count of total errors detected so far.
error_recovery(boolean) - Method in class java_cup.runtime.lr_parser
Attempt to recover from a syntax error.
error_sym() - Method in class ASTParser
error Symbol index.
error_sym() - Method in class java_cup.parser
error Symbol index.
error_sym() - Method in class java_cup.runtime.lr_parser
The index of the special error Symbol (supplied by generated subclass).
error_sym() - Method in class java_cup.simple_calc.parser
error Symbol index.
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.
errors() - Method in class ClassTable
Returns true if there are any static semantic errors.
exitScope() - Method in class SymbolTable
Exits the most recently entered scope.
expect_conflicts - Static variable in class java_cup.Main
User option -- number of conflicts to expect
expr - Variable in class assign
 
expr - Variable in class branch
 
expr - Variable in class dispatch
 
expr - Variable in class method
 
expr - Variable in class static_dispatch
 
expr - Variable in class typcase
 

F

FI - Static variable in class TokenConstants
 
FORMAL - Static variable in class ASTConstants
 
FP - Static variable in class CgenSupport
 
Feature - class Feature.
Defines simple phylum Feature
Feature(int) - Constructor for class Feature
 
Features - class Features.
Defines list phylum Features
Features(int, Vector) - Constructor for class Features
 
Features(int) - Constructor for class Features
Creates an empty "Features" list
Flags - class Flags.
Command line flags
Flags() - Constructor for class Flags
 
Formal - class Formal.
Defines simple phylum Formal
Formal(int) - Constructor for class Formal
 
Formals - class Formals.
Defines list phylum Formals
Formals(int, Vector) - Constructor for class Formals
 
Formals(int) - Constructor for class Formals
Creates an empty "Formals" list
falsebool - Static variable in class BoolConst
 
fatalError(String) - Static method in class Utilities
Prints error message and exits
features - Variable in class class_
 
filename - Variable in class class_
 
final_time - Static variable in class java_cup.Main
Timing data -- when were we completely done
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(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(String) - Static method in class java_cup.terminal
Lookup a terminal by name string.
find(int) - Static method in class java_cup.terminal
Lookup a terminal by index.
find_recovery_config(boolean) - Method in class java_cup.runtime.lr_parser
Put the (real) parse stack into error recovery configuration by popping the stack down to a state that can shift on the special error Symbol, then doing the shift.
find_single_char(int) - Static method in class java_cup.lexer
Try to look up a single character symbol, returns -1 for not found.
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 variable 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.
fix_with_precedence(production, int, parse_action_row, parse_action) - Method in class java_cup.lalr_state
Procedure that attempts to fix a shift/reduce error by using precedences.
formal - class formal.
Defines AST constructor 'formal'.
formal(int, AbstractSymbol, AbstractSymbol) - Constructor for class formal
Creates "formal" AST node.
formals - Variable in class method
 

G

GC_DEBUG - Static variable in class Flags
Full GC debugging
GC_GENGC - Static variable in class Flags
Generational garbage collection
GC_NOGC - Static variable in class Flags
No garbage collection
GC_NORMAL - Static variable in class Flags
Normal GC operation
GC_QUICK - Static variable in class Flags
Quick GC debugging
GC_SNCGC - Static variable in class Flags
Stop-and-copy garbage collection
GC_TEST - Static variable in class Flags
Test GC operation
GLOBAL - Static variable in class CgenSupport
 
gcCollectNames - Static variable in class CgenSupport
Runtime constants for controlling the garbage collector.
gcInitNames - Static variable in class CgenSupport
Runtime constants for controlling the garbage collector.
getChildren() - Method in class CgenNode
Gets the children of this class
getElementClass() - Method in class Cases
Returns class of this lists's elements
getElementClass() - Method in class Classes
Returns class of this lists's elements
getElementClass() - Method in class Expressions
Returns class of this lists's elements
getElementClass() - Method in class Features
Returns class of this lists's elements
getElementClass() - Method in class Formals
Returns class of this lists's elements
getElementClass() - Method in class ListNode
Returns the class of list elements.
getElements() - Method in class ListNode
Retreives the elements of the list as Enumeration.
getFeatures() - Method in class Class_
 
getFeatures() - Method in class class_
 
getFilename() - Method in class Class_
 
getFilename() - Method in class class_
 
getLength() - Method in class ListNode
Retreives the length of the list.
getLineNumber() - Method in class TreeNode
Retreives the line number from which this node came.
getName() - Method in class Class_
 
getName() - Method in class class_
 
getNewSymbol(String, int, int) - Method in class AbstractTable
Creates a new symbol of the appropriate type
getNewSymbol(String, int, int) - Method in class IdTable
Creates a new IdSymbol object.
getNewSymbol(String, int, int) - Method in class IntTable
Creates a new IntSymbol object.
getNewSymbol(String, int, int) - Method in class StringTable
Creates a new StringSymbol object.
getNth(int) - Method in class ListNode
Retreives nth element of the list.
getOffset() - Method in class VariableInfo
 
getParent() - Method in class Class_
 
getParent() - Method in class class_
 
getParentNd() - Method in class CgenNode
Gets the parent of this class
getScanner() - Method in class java_cup.runtime.lr_parser
Simple accessor method to get the default scanner.
getSource() - Method in class VariableInfo
 
getString() - Method in class AbstractSymbol
Returns the string representation of this symbol.
getSymbols() - Method in class AbstractTable
Returns an enumeration of symbols in this string table
get_action(int, int) - Method in class java_cup.runtime.lr_parser
Fetch an action from the action table.
get_from_real() - Method in class java_cup.runtime.virtual_parse_stack
Transfer an element from the real to the virtual stack.
get_one() - Method in class java_cup.lalr_item_set
Remove and return one item from the set (done in hash order).
get_reduce(int, int) - Method in class java_cup.runtime.lr_parser
Fetch a state from the reduce-goto table.
get_type() - Method in class Expression
 
goto_table_time - Static variable in class java_cup.emit
Time to produce the reduce-goto table.

H

HEAP_START - Static variable in class CgenSupport
 
handleFlags(String[]) - Static method in class Flags
Processes command line flags and extracts filenames to be compiled
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 - Variable in class java_cup.lalr_item_set
Cached hashcode for this set.

I

ID - Static variable in class ASTConstants
 
ID - Static variable in class java_cup.sym
 
IF - Static variable in class TokenConstants
 
IMPORT - Static variable in class java_cup.sym
 
IN - Static variable in class TokenConstants
 
INHERITS - Static variable in class TokenConstants
 
INIT - Static variable in class java_cup.sym
 
INT - Static variable in class ASTConstants
 
INTCONST_PREFIX - Static variable in class CgenSupport
 
INTTAG - Static variable in class CgenSupport
 
INT_CONST - Static variable in class ASTConstants
 
INT_CONST - Static variable in class TokenConstants
 
INT_SLOTS - Static variable in class CgenSupport
 
IO - Static variable in class TreeConstants
 
ISVOID - Static variable in class ASTConstants
 
ISVOID - Static variable in class TokenConstants
 
IdSymbol - class IdSymbol.
String table entry for identifiers.
IdSymbol(String, int, int) - Constructor for class IdSymbol
 
IdTable - class IdTable.
 
IdTable() - Constructor for class IdTable
 
Int - Static variable in class TreeConstants
 
IntSymbol - class IntSymbol.
String table entry for integer constants
IntSymbol(String, int, int) - Constructor for class IntSymbol
 
IntTable - class IntTable.
 
IntTable() - Constructor for class IntTable
 
id_char(int) - Static method in class java_cup.lexer
Determine if a character is ok for the middle of an id.
id_start_char(int) - Static method in class java_cup.lexer
Determine if a character is ok to start an id.
identifier - Variable in class let
 
idtable - Static variable in class AbstractTable
Global string table of identifiers
import_list - Static variable in class java_cup.emit
List of imports (Strings containing class names) to go with actions.
in_filename - Static variable in class Flags
First input filename
in_int - Static variable in class TreeConstants
 
in_string - Static variable in class TreeConstants
 
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 - Variable in class AbstractSymbol
The index of this entry in the string table
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 - Variable in class attr
 
init() - Static method in class java_cup.lexer
Initialize the scanner.
init() - Method in class java_cup.simple_calc.scanner
 
init - Variable in class let
 
init_actions() - Method in class ASTParser
Action encapsulation object initializer.
init_actions() - Method in class java_cup.parser
Action encapsulation object initializer.
init_actions() - Method in class java_cup.runtime.lr_parser
Initialize the action object.
init_actions() - Method in class java_cup.simple_calc.parser
Action encapsulation object initializer.
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
 
installBasicClasses() - Method in class CgenClassTable
Creates data structures representing basic Cool classes (Object, IO, Int, Bool, String).
installBasicClasses() - Method in class ClassTable
Creates data structures representing basic Cool classes (Object, IO, Int, Bool, String).
installClass(CgenNode) - Method in class CgenClassTable
 
installClasses(Classes) - Method in class CgenClassTable
 
instream - Variable in class java_cup.simple_calc.scanner
 
int_const - class int_const.
Defines AST constructor 'int_const'.
int_const(int, AbstractSymbol) - Constructor for class int_const
Creates "int_const" AST node.
intclasstag - Variable in class CgenClassTable
 
internal_error - exception java_cup.internal_error.
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.
inttable - Static variable in class AbstractTable
Global string table of integer constants
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.
isvoid - class isvoid.
Defines AST constructor 'isvoid'.
isvoid(int, Expression) - Constructor for class isvoid
Creates "isvoid" AST node.
items() - Method in class java_cup.lalr_state
The item set for this state.

J

JAL - Static variable in class CgenSupport
 
JALR - Static variable in class CgenSupport
 
java_cup - package java_cup
 
java_cup.runtime - package java_cup.runtime
 
java_cup.simple_calc - package java_cup.simple_calc
 

K

keywords - Static variable in class java_cup.lexer
Table of keywords.
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

LA - Static variable in class CgenSupport
 
LABEL - Static variable in class CgenSupport
 
LBRACE - Static variable in class TokenConstants
 
LBRACK - Static variable in class java_cup.sym
 
LE - Static variable in class TokenConstants
 
LEFT - Static variable in class java_cup.sym
 
LEQ - Static variable in class ASTConstants
 
LET - Static variable in class ASTConstants
 
LET - Static variable in class TokenConstants
 
LET - Static variable in class VariableInfo
 
LET_STMT - Static variable in class TokenConstants
 
LI - Static variable in class CgenSupport
 
LINENO - Static variable in class ASTConstants
 
LOG_WORD_SIZE - Static variable in class CgenSupport
 
LOOP - Static variable in class ASTConstants
 
LOOP - Static variable in class TokenConstants
 
LPAREN - Static variable in class ASTConstants
 
LPAREN - Static variable in class TokenConstants
 
LPAREN - Static variable in class java_cup.simple_calc.sym
 
LT - Static variable in class ASTConstants
 
LT - Static variable in class TokenConstants
 
LW - Static variable in class CgenSupport
 
ListNode - class ListNode.
Base class for lists of AST elements.
ListNode(int, Vector) - Constructor for class ListNode
 
ListNode(int) - Constructor for class ListNode
Builds a new list node
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, 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 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.
lalr_transition - class java_cup.lalr_transition.
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
length - Static variable in class TreeConstants
 
leq - class leq.
Defines AST constructor 'leq'.
leq(int, Expression, Expression) - Constructor for class leq
Creates "leq" AST node.
let - class let.
Defines AST constructor 'let'.
let(int, AbstractSymbol, AbstractSymbol, Expression, Expression) - Constructor for class let
Creates "let" AST node.
lexer - class java_cup.lexer.
This class implements a small scanner (aka lexical analyzer or lexer) for the JavaCup specification.
lexer() - Constructor for class java_cup.lexer
The only constructor is private, so no instances can be created.
lhs() - Method in class java_cup.production
The left hand side non-terminal.
lhs_nt - Variable in class java_cup.CUP$parser$actions
left hand side non terminal of the current production
line() - Method in class ASTLexer
 
lineNumber - Variable in class TreeNode
line in the source file from which this node came.
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.
lookup(int) - Method in class AbstractTable
Looks up a symbol in this string table by its index A fatal error is signalled if the index is out of bounds.
lookup(String) - Method in class AbstractTable
Looks up a symbol in this string table by its string representation A fatal error is signalled if the string is not in the table
lookup(AbstractSymbol) - Method in class SymbolTable
Looks up an item through all scopes of the symbol table.
loop - class loop.
Defines AST constructor 'loop'.
loop(int, Expression, Expression) - Constructor for class loop
Creates "loop" AST node.
lr_item_core - class java_cup.lr_item_core.
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 java_cup.runtime.lr_parser.
This class implements a skeleton table driven LR parser.
lr_parser() - Constructor for class java_cup.runtime.lr_parser
Simple constructor.
lr_parser(Scanner) - Constructor for class java_cup.runtime.lr_parser
Constructor that sets the default scanner.
lr_values - Static variable 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
lt - class lt.
Defines AST constructor 'lt'.
lt(int, Expression, Expression) - Constructor for class lt
Creates "lt" AST node.

M

MAXINT - Static variable in class CgenSupport
 
MAXSIZE - Static variable in class AbstractTable
 
MAX_RHS - Variable in class java_cup.CUP$parser$actions
max size of right hand side we will support
METHOD - Static variable in class ASTConstants
 
METHOD_SEP - Static variable in class CgenSupport
 
MINUS - Static variable in class TokenConstants
 
MINUS - Static variable in class java_cup.simple_calc.sym
 
MOD - Static variable in class java_cup.simple_calc.sym
 
MOVE - Static variable in class CgenSupport
 
MUL - Static variable in class ASTConstants
 
MUL - Static variable in class CgenSupport
 
MULT - Static variable in class TokenConstants
 
Main - Static variable in class TreeConstants
 
Main - class java_cup.Main.
This class serves as the main driver for the JavaCup system.
Main() - Constructor for class java_cup.Main
Only constructor is private, so we do not allocate any instances of this class.
Main - class java_cup.simple_calc.Main.
 
Main() - Constructor for class java_cup.simple_calc.Main
 
machine_end - Static variable in class java_cup.Main
Timing data -- when did we end state machine construction
main(String[]) - Static method in class Cgen
Reads AST from from consosle, and outputs the assembly code
main(String[]) - Static method in class ClassTable
 
main(String[]) - Static method in class SymtabExample
 
main(String[]) - Static method in class java_cup.Main
The main driver for the system.
main(String[]) - Static method in class java_cup.simple_calc.Main
 
main_meth - Static variable in class TreeConstants
 
major - Static variable in class java_cup.version
The major version number.
make_declaration(String, String, int) - Method in class java_cup.production
Return label declaration code
merge_adjacent_actions(production_part[], int) - Method in class java_cup.production
Helper routine to merge adjacent actions in a set of RHS parts
method - class method.
Defines AST constructor 'method'.
method(int, AbstractSymbol, Formals, AbstractSymbol, Expression) - Constructor for class method
Creates "method" AST node.
minor - Static variable in class java_cup.version
The minor version number.
mul - class mul.
Defines AST constructor 'mul'.
mul(int, Expression, Expression) - Constructor for class mul
Creates "mul" AST node.
multipart_name - Variable in class java_cup.CUP$parser$actions
string to build up multiple part names

N

NEG - Static variable in class ASTConstants
 
NEG - Static variable in class CgenSupport
 
NEG - Static variable in class TokenConstants
 
NEW - Static variable in class ASTConstants
 
NEW - Static variable in class TokenConstants
 
NON - Static variable in class java_cup.sym
 
NONASSOC - Static variable in class java_cup.parse_action
Constants for action type -- reduce action.
NONASSOC - Static variable in class java_cup.sym
 
NONTERMINAL - Static variable in class java_cup.sym
 
NOT - Static variable in class TokenConstants
 
NO_EXPR - Static variable in class ASTConstants
 
NO_TYPE - Static variable in class ASTConstants
 
NUMBER - Static variable in class java_cup.simple_calc.sym
 
No_class - Static variable in class TreeConstants
 
No_type - Static variable in class TreeConstants
 
NotBasic - Static variable in class CgenNode
Indicates a class that came from a Cool program
name - Variable in class assign
 
name - Variable in class attr
 
name - Variable in class branch
 
name - Variable in class class_
 
name - Variable in class dispatch
 
name - Variable in class formal
 
name() - Method in class java_cup.symbol
String for the human readable name of the symbol.
name - Variable in class method
 
name - Variable in class object
 
name - Variable in class static_dispatch
 
nds - Variable in class CgenClassTable
All classes in the program, represented as CgenNode
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).
neg - class neg.
Defines AST constructor 'neg'.
neg(int, Expression) - Constructor for class neg
Creates "neg" AST node.
new_ - class new_.
Defines AST constructor 'new_'.
new_(int, AbstractSymbol) - Constructor for class new_
Creates "new_" AST node.
new_rhs() - Method in class java_cup.CUP$parser$actions
start a new right hand side
next() - Method in class java_cup.lalr_transition
Next transition in linked list of transitions out of a state
next_char - Static variable in class java_cup.lexer
First character of lookahead.
next_char - Variable in class java_cup.simple_calc.scanner
 
next_char2 - Static variable in class java_cup.lexer
Second character of lookahead.
next_char3 - Static variable in class java_cup.lexer
Second character of lookahead.
next_char4 - Static variable in class java_cup.lexer
Second character of lookahead.
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 class ASTLexer
 
next_token() - Static method in class java_cup.lexer
Return one Symbol.
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.simple_calc.scanner
 
no_expr - class no_expr.
Defines AST constructor 'no_expr'.
no_expr(int) - Constructor for class no_expr
Creates "no_expr" AST node.
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 java_cup.non_terminal.
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.
non_terms - Variable in class java_cup.CUP$parser$actions
table of just non terminals -- contains non_terminals indexed by name
nonassoc - Static variable in class java_cup.assoc
 
nonassoc_action - class java_cup.nonassoc_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 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.

O

OBJECT - Static variable in class ASTConstants
 
OBJECTID - Static variable in class TokenConstants
 
OBJECTPROTOBJ - Static variable in class CgenSupport
 
OF - Static variable in class TokenConstants
 
Object_ - Static variable in class TreeConstants
 
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.
object - class object.
Defines AST constructor 'object'.
object(int, AbstractSymbol) - Constructor for class object
Creates "object" AST node.
offset - Variable in class VariableInfo
 
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 variable in class java_cup.Main
User option -- do we compact tables by making most common reduce the default action
opt_do_debug - Static variable in class java_cup.Main
User option -- do we run produce extra debugging messages
opt_dump_grammar - Static variable in class java_cup.Main
User option -- do we produce a dump of the grammar
opt_dump_states - Static variable in class java_cup.Main
User option -- do we produce a dump of the state machine
opt_dump_tables - Static variable in class java_cup.Main
User option -- do we produce a dump of the parse tables
opt_show_timing - Static variable in class java_cup.Main
User option -- do we show timing information as a part of the summary
out_filename - Static variable in class Flags
Output filename
out_int - Static variable in class TreeConstants
 
out_string - Static variable in class TreeConstants
 

P

PACKAGE - Static variable in class java_cup.sym
 
PARAMETER - Static variable in class VariableInfo
 
PARSER - Static variable in class java_cup.sym
 
PERCENT_PREC - Static variable in class java_cup.sym
 
PLUS - Static variable in class ASTConstants
 
PLUS - Static variable in class TokenConstants
 
PLUS - Static variable in class java_cup.simple_calc.sym
 
POOL - Static variable in class TokenConstants
 
PRECEDENCE - Static variable in class java_cup.sym
 
PROGRAM - Static variable in class ASTConstants
 
PROTOBJ_SUFFIX - Static variable in class CgenSupport
 
Program - class Program.
Defines simple phylum Program
Program(int) - Constructor for class Program
 
package_name - Static variable in class java_cup.emit
Package that the resulting code goes into (null is used for unnamed).
pad(int) - Static method in class Utilities
Returns the specified amount of space padding
padding - Static variable in class Utilities
 
parent - Variable in class CgenNode
The parent of this node in the inheritance tree
parent - Variable in class class_
 
parse() - Method in class java_cup.runtime.lr_parser
This method provides the main parsing routine.
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.
parse_action_row - class java_cup.parse_action_row.
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 java_cup.parse_action_table.
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 java_cup.parse_reduce_row.
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 java_cup.parse_reduce_table.
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 - Variable in class CUP$ASTParser$actions
 
parser - Variable in class java_cup.CUP$parser$actions
 
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 java_cup.parser.
CUP v0.10k generated parser.
parser() - Constructor for class java_cup.parser
Default constructor.
parser(Scanner) - Constructor for class java_cup.parser
Constructor which sets the default scanner.
parser - Variable in class java_cup.simple_calc.CUP$parser$actions
 
parser - class java_cup.simple_calc.parser.
CUP v0.10k generated parser.
parser() - Constructor for class java_cup.simple_calc.parser
Default constructor.
parser(Scanner) - Constructor for class java_cup.simple_calc.parser
Constructor which sets the default scanner.
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_debug - Static variable in class Flags
Enable parser debugging
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.
plus - class plus.
Defines AST constructor 'plus'.
plus(int, Expression, Expression) - Constructor for class plus
Creates "plus" AST node.
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
 
pred - Variable in class cond
 
pred - Variable in class loop
 
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
prim_slot - Static variable in class TreeConstants
 
printEscapedString(PrintStream, String) - Static method in class Utilities
Prints an appropritely escaped string
printToken(Symbol) - Static method in class Utilities
Prints a token to stderr
print_progress - Static variable in class java_cup.Main
User option -- do we print progress messages.
probe(AbstractSymbol) - Method in class SymbolTable
Probes the symbol table.
production - class java_cup.production.
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 java_cup.production_part.
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 ASTParser
Access to production table.
production_table() - Method in class java_cup.parser
Access to production table.
production_table() - Method in class java_cup.runtime.lr_parser
Table of production information (supplied by generated subclass).
production_table() - Method in class java_cup.simple_calc.parser
Access to production table.
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 - class program.
Defines AST constructor 'program'.
program(int, Classes) - Constructor for class program
Creates "program" AST node.
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.

R

RA - Static variable in class CgenSupport
 
RBRACE - Static variable in class TokenConstants
 
RBRACK - Static variable in class java_cup.sym
 
REDUCE - Static variable in class java_cup.parse_action
Constants for action type -- reduce action.
RET - Static variable in class CgenSupport
 
RIGHT - Static variable in class java_cup.sym
 
RPAREN - Static variable in class ASTConstants
 
RPAREN - Static variable in class TokenConstants
 
RPAREN - Static variable in class java_cup.simple_calc.sym
 
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_next_token() - Static method in class java_cup.lexer
The actual routine to return one Symbol.
real_stack - Variable in class java_cup.runtime.virtual_parse_stack
The real stack that we shadow.
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 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() - Method in class ASTParser
Access to reduce_goto table.
reduce_table - Static variable in class java_cup.Main
Resulting reduce-goto table.
reduce_table() - Method in class java_cup.parser
Access to reduce_goto table.
reduce_table() - Method in class java_cup.runtime.lr_parser
The reduce-goto table (supplied by generated subclass).
reduce_table() - Method in class java_cup.simple_calc.parser
Access to reduce_goto table.
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.parser
 
report_error(String, Object) - Method in class java_cup.runtime.lr_parser
Report a non fatal error (or warning).
report_fatal_error(String, Object) - Method in class java_cup.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).
return_type - Variable in class method
 
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.
rhs_parts - Variable in class java_cup.CUP$parser$actions
array for accumulating right hand side parts
rhs_pos - Variable in class java_cup.CUP$parser$actions
where we are currently in building a right hand side
right - Static variable in class java_cup.assoc
 
right - Variable in class java_cup.runtime.Symbol
The data passed to parser
root() - Method in class CgenClassTable
Gets the root of the inheritance tree

S

SCAN - Static variable in class java_cup.sym
 
SELF - Static variable in class CgenSupport
 
SELF_TYPE - Static variable in class TreeConstants
 
SEMI - Static variable in class TokenConstants
 
SEMI - Static variable in class java_cup.simple_calc.sym
 
SEMI - Static variable in class java_cup.sym
 
SHIFT - Static variable in class java_cup.parse_action
Constant for action type -- shift action.
SIZE_OFFSET - Static variable in class CgenSupport
 
SLL - Static variable in class CgenSupport
 
SP - Static variable in class CgenSupport
 
STAR - Static variable in class java_cup.sym
 
START - Static variable in class java_cup.sym
 
START_nt - Static variable in class java_cup.non_terminal
special non-terminal for start symbol
STATIC_DISPATCH - Static variable in class ASTConstants
 
STR - Static variable in class ASTConstants
 
STRCONST_PREFIX - Static variable in class CgenSupport
 
STRING - Variable in class ASTLexer
 
STRINGTAG - Static variable in class CgenSupport
 
STRING_SLOTS - Static variable in class CgenSupport
 
STR_CONST - Static variable in class ASTConstants
 
STR_CONST - Static variable in class TokenConstants
 
SUB - Static variable in class ASTConstants
 
SUB - Static variable in class CgenSupport
 
SW - Static variable in class CgenSupport
 
Scanner - interface java_cup.runtime.Scanner.
Defines the Scanner interface, which CUP uses in the default implementation of lr_parser.scan().
Str - Static variable in class TreeConstants
 
StringSymbol - class StringSymbol.
String table entry for string constants.
StringSymbol(String, int, int) - Constructor for class StringSymbol
 
StringTable - class StringTable.
 
StringTable() - Constructor for class StringTable
 
Symbol - class java_cup.runtime.Symbol.
Defines the Symbol class, which is used to represent all terminals and nonterminals while parsing.
Symbol(int, int, int, Object) - Constructor for class java_cup.runtime.Symbol
Constructor for l,r values
Symbol(int, Object) - Constructor for class java_cup.runtime.Symbol
Constructor for no l,r values
Symbol(int, int, int) - Constructor for class java_cup.runtime.Symbol
Constructor for no value
Symbol(int) - Constructor for class java_cup.runtime.Symbol
Constructor for no value or l,r
Symbol(int, int) - Constructor for class java_cup.runtime.Symbol
Constructor to give a start state
SymbolTable - class SymbolTable.
Implements the symbol table data abstraction.
SymbolTable() - Constructor for class SymbolTable
Creates an empty symbol table.
SymtabExample - class SymtabExample.
An example of using a symbol table.
SymtabExample() - Constructor for class SymtabExample
 
scan() - Method in class java_cup.parser
Scan to get the next Symbol.
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 - class java_cup.simple_calc.scanner.
 
scanner(InputStream) - Constructor for class java_cup.simple_calc.scanner
 
scanner() - Constructor for class java_cup.simple_calc.scanner
 
self - Static variable in class TreeConstants
 
semant() - Method in class Program
 
semant() - Method in class program
This method is the entry point to the semantic checker.
semantError(class_) - Method in class ClassTable
Prints line number and file name of the given class.
semantError(AbstractSymbol, TreeNode) - Method in class ClassTable
Prints the file name and the line number of the given tree node.
semantError() - Method in class ClassTable
Increments semantic error count and returns the print stream for error messages.
semantErrors - Variable in class ClassTable
 
semant_debug - Static variable in class Flags
Enable semantic analysis debugging
set(TreeNode) - Method in class TreeNode
Sets the values of this node object to the values of a given node.
setParentNd(CgenNode) - Method in class CgenNode
Sets the parent of this class.
setRelations(CgenNode) - Method in class CgenClassTable
 
setScanner(Scanner) - Method in class java_cup.runtime.lr_parser
Simple accessor method to set the default scanner.
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_nullable(boolean) - Method in class java_cup.production
set (and return) nullability
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_type(AbstractSymbol) - Method in class Expression
 
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.
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
source - Variable in class VariableInfo
 
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 - Variable in class java_cup.CUP$parser$actions
declared start non_terminal
start_production() - Method in class ASTParser
Indicates start production.
start_production - Static variable in class java_cup.emit
The start production of the grammar.
start_production() - Method in class java_cup.parser
Indicates start production.
start_production() - Method in class java_cup.runtime.lr_parser
The index of the start production (supplied by generated subclass).
start_production() - Method in class java_cup.simple_calc.parser
Indicates start production.
start_state() - Method in class ASTParser
Indicates start state.
start_state - Static variable in class java_cup.Main
Start state in the overall state machine.
start_state() - Method in class java_cup.parser
Indicates start state.
start_state() - Method in class java_cup.runtime.lr_parser
The index of the start state (supplied by generated subclass).
start_state() - Method in class java_cup.simple_calc.parser
Indicates start state.
start_time - Static variable in class java_cup.Main
Timing data -- when did we start
static_dispatch - class static_dispatch.
Defines AST constructor 'static_dispatch'.
static_dispatch(int, Expression, AbstractSymbol, AbstractSymbol, Expressions) - Constructor for class static_dispatch
Creates "static_dispatch" AST node.
str - Variable in class AbstractSymbol
The stored string
str - Variable in class CgenClassTable
This is the stream to which assembly instructions are output
str_field - Static variable in class TreeConstants
 
string_const - class string_const.
Defines AST constructor 'string_const'.
string_const(int, AbstractSymbol) - Constructor for class string_const
Creates "string_const" AST node.
stringclasstag - Variable in class CgenClassTable
 
stringtable - Static variable in class AbstractTable
Global string table of string constants
strip_trailing_action(production_part[], int) - Method in class java_cup.production
Helper routine to strip a trailing action off rhs and return it
sub - class sub.
Defines AST constructor 'sub'.
sub(int, Expression, Expression) - Constructor for class sub
Creates "sub" AST node.
substr - Static variable in class TreeConstants
 
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?
swallow_comment() - Static method in class java_cup.lexer
Handle swallowing up a comment.
sym - Variable in class java_cup.runtime.Symbol
The symbol number of the terminal or non terminal being represented
sym - class java_cup.simple_calc.sym.
CUP generated class containing symbol constants.
sym() - Constructor for class java_cup.simple_calc.sym
 
sym - class java_cup.sym.
CUP generated class containing symbol constants.
sym() - Constructor for class java_cup.sym
 
sym_interface - Static variable 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, 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 java_cup.symbol_part.
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 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 - Variable in class java_cup.CUP$parser$actions
table of declared symbols -- contains production parts indexed by name
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 ASTParser
 
syntax_error(Symbol) - Method in class java_cup.runtime.lr_parser
This method is called when a syntax error has been detected and recovery is about to be invoked.

T

T1 - Static variable in class CgenSupport
 
T2 - Static variable in class CgenSupport
 
T3 - Static variable in class CgenSupport
 
TAG_OFFSET - Static variable in class CgenSupport
 
TERMINAL - Static variable in class java_cup.sym
 
THEN - Static variable in class TokenConstants
 
TIMES - Static variable in class java_cup.simple_calc.sym
 
TYPCASE - Static variable in class ASTConstants
 
TYPEID - Static variable in class TokenConstants
 
TokenConstants - class TokenConstants.
CUP generated class containing symbol constants.
TokenConstants() - Constructor for class TokenConstants
 
TreeConstants - class TreeConstants.
For convenience, this clas defines a large number of symbols.
TreeConstants() - Constructor for class TreeConstants
 
TreeNode - class TreeNode.
The base class for all AST nodes.
TreeNode(int) - Constructor for class TreeNode
Builds a new tree node
table_end - Static variable in class java_cup.Main
Timing data -- when did we end table construction
tbl - Variable in class AbstractTable
Vector of table entries
tbl - Variable in class SymbolTable
 
terminal - class java_cup.terminal.
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 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.
then_exp - Variable in class cond
 
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
toString() - Method in class AbstractSymbol
Returns a printable representation of this symbol.
toString() - Method in class AbstractTable
Produces a printable representation of the string table
toString() - Method in class ListNode
Returns a string representation of this list.
toString() - Method in class SymbolTable
Gets the string representation of the symbol table.
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.Symbol
Printing this token out.
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.
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.
token - Variable in class int_const
 
token - Variable in class string_const
 
tokenToString(Symbol) - Static method in class Utilities
Returns a string representation for a token
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).
transitions() - Method in class java_cup.lalr_state
List of transitions out of this state.
truebool - Static variable in class BoolConst
 
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.
typcase - class typcase.
Defines AST constructor 'typcase'.
typcase(int, Expression, Cases) - Constructor for class typcase
Creates "typcase" AST node.
type - Variable in class Expression
 
type_decl - Variable in class attr
 
type_decl - Variable in class branch
 
type_decl - Variable in class formal
 
type_decl - Variable in class let
 
type_name - Static variable in class TreeConstants
 
type_name - Variable in class new_
 
type_name - Variable in class static_dispatch
 

U

UMINUS - Static variable in class java_cup.simple_calc.sym
 
Utilities - class Utilities.
 
Utilities() - Constructor for class Utilities
 
under_non_term - Variable in class java_cup.parse_reduce_row
Actual entries for the row.
under_state - Variable in class java_cup.parse_action_table
Actual array of rows, one per state.
under_state - Variable in class java_cup.parse_reduce_table
Actual array of rows, one per state
under_term - Variable in class java_cup.parse_action_row
Actual action entries for the row.
unpackFromString(int, int, String) - Method in class ASTLexer
 
unpackFromStrings(String[]) - Static method in class java_cup.runtime.lr_parser
Utility function: unpacks parse tables from strings
unrecovered_syntax_error(Symbol) - Method in class ASTParser
 
unrecovered_syntax_error(Symbol) - Method in class java_cup.runtime.lr_parser
This method is called if it is determined that syntax error recovery has been unsuccessful.
unused_non_term - Static variable in class java_cup.emit
Count of unused non terminals.
unused_term - Static variable in class java_cup.emit
Count of unused terminals.
update - Static variable in class java_cup.version
The update letter.
update_precedence(int) - Method in class java_cup.CUP$parser$actions
update the precedences we are declaring
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.
used_by_parser - Variable in class java_cup.runtime.Symbol
This allows us to catch some errors caused by scanners recycling symbols.
user_init() - Method in class java_cup.parser
User initialization code.
user_init() - Method in class java_cup.runtime.lr_parser
User code for initialization inside the parser.

V

VariableInfo - class VariableInfo.
 
VariableInfo(String, int) - Constructor for class VariableInfo
 
val - Variable in class BoolConst
 
val - Static variable in class TreeConstants
 
val - Variable in class bool_const
 
value - Variable in class java_cup.runtime.Symbol
 
version - class java_cup.version.
This class contains version and authorship information.
version() - Constructor for class java_cup.version
 
version_str - Static variable in class java_cup.version
String for the current version.
virtual_parse_stack - class java_cup.runtime.virtual_parse_stack.
This class implements a temporary or "virtual" parse stack that replaces the top portion of the actual parse stack (the part that has been changed by some set of operations) while maintaining its original contents.
virtual_parse_stack(Stack) - Constructor for class java_cup.runtime.virtual_parse_stack
Constructor to build a virtual stack out of a real stack.
vstack - Variable in class java_cup.runtime.virtual_parse_stack
The virtual top portion of the stack.

W

WHILE - Static variable in class TokenConstants
 
WITH - Static variable in class java_cup.sym
 
WORD - Static variable in class CgenSupport
 
WORD_SIZE - Static variable in class CgenSupport
 
warning_count - Static variable in class java_cup.lexer
Count of warnings issued so far

Y

YYINITIAL - Variable in class ASTLexer
 
YY_BOL - Variable in class ASTLexer
 
YY_BUFFER_SIZE - Variable in class ASTLexer
 
YY_END - Variable in class ASTLexer
 
YY_EOF - Variable in class ASTLexer
 
YY_E_INTERNAL - Variable in class ASTLexer
 
YY_E_MATCH - Variable in class ASTLexer
 
YY_F - Variable in class ASTLexer
 
YY_NOT_ACCEPT - Variable in class ASTLexer
 
YY_NO_ANCHOR - Variable in class ASTLexer
 
YY_NO_STATE - Variable in class ASTLexer
 
YY_START - Variable in class ASTLexer
 
yy_acpt - Variable in class ASTLexer
 
yy_advance() - Method in class ASTLexer
 
yy_at_bol - Variable in class ASTLexer
 
yy_buffer - Variable in class ASTLexer
 
yy_buffer_end - Variable in class ASTLexer
 
yy_buffer_index - Variable in class ASTLexer
 
yy_buffer_read - Variable in class ASTLexer
 
yy_buffer_start - Variable in class ASTLexer
 
yy_cmap - Variable in class ASTLexer
 
yy_double(char[]) - Method in class ASTLexer
 
yy_eof_done - Variable in class ASTLexer
 
yy_error(int, boolean) - Method in class ASTLexer
 
yy_error_string - Variable in class ASTLexer
 
yy_last_was_cr - Variable in class ASTLexer
 
yy_lexical_state - Variable in class ASTLexer
 
yy_mark_end() - Method in class ASTLexer
 
yy_mark_start() - Method in class ASTLexer
 
yy_move_end() - Method in class ASTLexer
 
yy_nxt - Variable in class ASTLexer
 
yy_reader - Variable in class ASTLexer
 
yy_rmap - Variable in class ASTLexer
 
yy_state_dtrans - Variable in class ASTLexer
 
yy_to_mark() - Method in class ASTLexer
 
yybegin(int) - Method in class ASTLexer
 
yylength() - Method in class ASTLexer
 
yyline - Variable in class ASTLexer
 
yytext() - Method in class ASTLexer
 

Z

ZERO - Static variable in class CgenSupport
 

_

_action - Variable in class java_cup.production
An action_part containing code for the action to be performed when we reduce with this production.
_action_table - Static variable in class ASTParser
Parse-action table.
_action_table - Static variable in class java_cup.parser
Parse-action table.
_action_table - Static variable in class java_cup.simple_calc.parser
Parse-action table.
_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.
_cur_prec - Variable in class java_cup.CUP$parser$actions
Current precedence number
_cur_side - Variable in class java_cup.CUP$parser$actions
Current precedence side
_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.
_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.
_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.
_precedence_num - Variable in class java_cup.terminal
 
_precedence_side - Variable in class java_cup.terminal
 
_production_table - Static variable in class ASTParser
Production table.
_production_table - Static variable in class java_cup.parser
Production table.
_production_table - Static variable in class java_cup.simple_calc.parser
Production table.
_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_table - Static variable in class ASTParser
reduce_goto table.
_reduce_table - Static variable in class java_cup.parser
reduce_goto table.
_reduce_table - Static variable in class java_cup.simple_calc.parser
reduce_goto table.
_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
_scanner - Variable in class java_cup.runtime.lr_parser
This is the scanner object used by the default implementation of scan() to get Symbols.
_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.

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