- scan() - Method in class java_cup.runtime.lr_parser
-
Get the next Symbol from the input (supplied by generated subclass).
- Scanner - Interface in java_cup.runtime
-
Defines the Scanner interface, which CUP uses in the default
implementation of lr_parser.scan()
.
- setScanner(Scanner) - Method in class java_cup.runtime.lr_parser
-
Simple accessor method to set the default scanner.
- shift_under_error() - Method in class java_cup.runtime.lr_parser
-
Determine if we can shift under the special error Symbol out of the
state currently on the top of the (real) parse stack.
- stack - Variable in class java_cup.runtime.lr_parser
-
The parse stack itself.
- start_production() - Method in class java_cup.runtime.lr_parser
-
The index of the start production (supplied by generated subclass).
- start_state() - Method in class java_cup.runtime.lr_parser
-
The index of the start state (supplied by generated subclass).
- startSymbol(String, int, int) - Method in class java_cup.runtime.ComplexSymbolFactory
-
- startSymbol(String, int, int) - Method in class java_cup.runtime.DefaultSymbolFactory
-
- startSymbol(String, int, int) - Method in interface java_cup.runtime.SymbolFactory
-
Construction of start symbol
- sym - Variable in class java_cup.runtime.Symbol
-
The symbol number of the terminal or non terminal being represented
- Symbol - Class in java_cup.runtime
-
Defines the Symbol class, which is used to represent all terminals
and nonterminals while parsing.
- Symbol(int, Symbol, Symbol, Object) - Constructor for class java_cup.runtime.Symbol
-
- Symbol(int, Symbol, Symbol) - Constructor for class java_cup.runtime.Symbol
-
- Symbol(int, 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
- symbolFactory - Variable in class java_cup.runtime.lr_parser
-
- SymbolFactory - Interface in java_cup.runtime
-
Creates the Symbols interface, which CUP uses as default
- 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.