FileDocCategorySizeDatePackage
ActionElement.javaAPI DocGlassfish v2 API727Wed Aug 30 15:34:04 BST 2006persistence.antlr

ActionElement

public class ActionElement extends AlternativeElement

Fields Summary
protected String
actionText
protected boolean
isSemPred
Constructors Summary
public ActionElement(Grammar g, Token t)



         
        super(g);
        actionText = t.getText();
        line = t.getLine();
        column = t.getColumn();
    
Methods Summary
public voidgenerate()

        grammar.generator.gen(this);
    
public persistence.antlr.Lookaheadlook(int k)

        return grammar.theLLkAnalyzer.look(k, this);
    
public java.lang.StringtoString()

        return " " + actionText + (isSemPred?"?":"");