Public Member Functions | Protected Attributes | Static Protected Attributes | Package Attributes

antlr.AlternativeBlock Class Reference

Inheritance diagram for antlr.AlternativeBlock:
antlr.AlternativeElement antlr.GrammarElement antlr.BlockWithImpliedExitPath antlr.RuleBlock antlr.SynPredBlock antlr.TreeElement antlr.OneOrMoreBlock antlr.ZeroOrMoreBlock

List of all members.

Public Member Functions

 AlternativeBlock (Grammar g)
 AlternativeBlock (Grammar g, Token start, boolean not)
void addAlternative (Alternative alt)
void generate ()
Alternative getAlternativeAt (int i)
Vector getAlternatives ()
boolean getAutoGen ()
String getInitAction ()
String getLabel ()
Lookahead look (int k)
void prepareForAnalysis ()
void removeTrackingOfRuleRefs (Grammar g)
void setAlternatives (Vector v)
void setAutoGen (boolean doAutoGen_)
void setInitAction (String initAction_)
void setLabel (String label_)
void setOption (Token key, Token value)
String toString ()

Protected Attributes

String initAction = null
Vector alternatives
String label
int alti
int altj
int analysisAlt
boolean hasAnAction = false
boolean hasASynPred = false
int ID = 0
boolean doAutoGen = true
boolean warnWhenFollowAmbig = true
boolean generateAmbigWarnings = true

Static Protected Attributes

static int nblks

Package Attributes

boolean not = false
boolean greedy = true
boolean greedySet = false

Detailed Description

A list of alternatives


Constructor & Destructor Documentation

antlr.AlternativeBlock.AlternativeBlock ( Grammar  g,
Token  start,
boolean  not 
)

Member Function Documentation

String antlr.AlternativeBlock.getInitAction (  ) 
void antlr.AlternativeBlock.setAlternatives ( Vector  v  ) 
void antlr.AlternativeBlock.setAutoGen ( boolean  doAutoGen_  ) 
void antlr.AlternativeBlock.setInitAction ( String  initAction_  ) 
void antlr.AlternativeBlock.setLabel ( String  label_  ) 

Reimplemented from antlr.AlternativeElement.

References antlr.AlternativeBlock.label.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties