FileDocCategorySizeDatePackage
WildcardElement.javaAPI DocGlassfish v2 API816Wed Aug 30 15:34:12 BST 2006persistence.antlr

WildcardElement

public class WildcardElement extends GrammarAtom

Fields Summary
protected String
label
Constructors Summary
public WildcardElement(Grammar g, Token t, int autoGenType)

        super(g, t, autoGenType);
        line = t.getLine();
    
Methods Summary
public voidgenerate()

        grammar.generator.gen(this);
    
public java.lang.StringgetLabel()

        return label;
    
public persistence.antlr.Lookaheadlook(int k)

        return grammar.theLLkAnalyzer.look(k, this);
    
public voidsetLabel(java.lang.String label_)

        label = label_;
    
public java.lang.StringtoString()

        String s = " ";
        if (label != null) s += label + ":";
        return s + ".";