FileDocCategorySizeDatePackage
RuleSymbol.javaAPI DocGlassfish v2 API1267Wed Aug 30 15:34:10 BST 2006persistence.antlr

RuleSymbol

public class RuleSymbol extends GrammarSymbol

Fields Summary
RuleBlock
block
boolean
defined
Vector
references
String
access
String
comment
Constructors Summary
public RuleSymbol(String r)

        super(r);
        references = new Vector();
    
Methods Summary
public voidaddReference(persistence.antlr.RuleRefElement e)

        references.appendElement(e);
    
public persistence.antlr.RuleBlockgetBlock()

        return block;
    
public persistence.antlr.RuleRefElementgetReference(int i)

        return (RuleRefElement)references.elementAt(i);
    
public booleanisDefined()

        return defined;
    
public intnumReferences()

        return references.size();
    
public voidsetBlock(persistence.antlr.RuleBlock rb)

        block = rb;
    
public voidsetDefined()

        defined = true;