FileDocCategorySizeDatePackage
Option.javaAPI DocGlassfish v2 API975Wed Aug 30 15:34:16 BST 2006persistence.antlr.preprocessor

Option

public class Option extends Object

Fields Summary
protected String
name
protected String
rhs
protected Grammar
enclosingGrammar
Constructors Summary
public Option(String n, String rhs, Grammar gr)

        name = n;
        this.rhs = rhs;
        setEnclosingGrammar(gr);
    
Methods Summary
public persistence.antlr.preprocessor.GrammargetEnclosingGrammar()

        return enclosingGrammar;
    
public java.lang.StringgetName()

        return name;
    
public java.lang.StringgetRHS()

        return rhs;
    
public voidsetEnclosingGrammar(persistence.antlr.preprocessor.Grammar g)

        enclosingGrammar = g;
    
public voidsetName(java.lang.String n)

        name = n;
    
public voidsetRHS(java.lang.String rhs)

        this.rhs = rhs;
    
public java.lang.StringtoString()

        return "\t" + name + "=" + rhs;