|
|||||||||
| Home >> All >> org >> sablecc >> [ sablecc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.sablecc.sablecc
Class Production

java.lang.Objectorg.sablecc.sablecc.Production
- final class Production
- extends java.lang.Object
| Field Summary | |
private static java.util.TreeMap |
alternatives_
|
private static java.lang.ArrayIndexOutOfBoundsException |
cachedException
|
(package private) int |
index
|
(package private) int |
leftside
|
private boolean |
modified
|
private static boolean |
modified_
|
(package private) java.lang.String |
name
|
private static java.util.Vector |
productions
|
private static Production[] |
productions_
|
private java.util.Vector |
rightside
|
private Symbol[] |
rightside_
|
| Constructor Summary | |
(package private) |
Production(int leftside,
java.lang.String name)
|
| Method Summary | |
(package private) void |
addSymbol(Symbol s)
|
(package private) static Production[] |
alternatives(int nonterminal)
|
private static void |
computeArray_()
|
private void |
computeArray()
|
(package private) static Production |
production(int index)
|
(package private) static Production[] |
productions()
|
static void |
reinit()
|
(package private) Symbol[] |
rightside()
|
(package private) Symbol |
rightside(int index)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
leftside
final int leftside
index
final int index
name
final java.lang.String name
rightside
private final java.util.Vector rightside
productions
private static final java.util.Vector productions
alternatives_
private static java.util.TreeMap alternatives_
modified_
private static boolean modified_
productions_
private static Production[] productions_
cachedException
private static final java.lang.ArrayIndexOutOfBoundsException cachedException
modified
private boolean modified
rightside_
private Symbol[] rightside_
| Constructor Detail |
Production
Production(int leftside,
java.lang.String name)
| Method Detail |
reinit
public static void reinit()
computeArray_
private static void computeArray_()
computeArray
private void computeArray()
rightside
Symbol[] rightside()
addSymbol
void addSymbol(Symbol s)
rightside
Symbol rightside(int index)
production
static Production production(int index)
alternatives
static Production[] alternatives(int nonterminal)
productions
static Production[] productions()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> sablecc >> [ sablecc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.sablecc.sablecc.Production