|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xsugar.stylesheet.Unit dk.brics.xsugar.stylesheet.UnifyingProduction
public class UnifyingProduction
Unifying production.
Constructor Summary | |
---|---|
UnifyingProduction(String nonterminal,
boolean left_unordered,
List<Item> left_items,
boolean right_unordered,
List<Item> right_items,
int priority,
Location loc)
Constructs a new production. |
Method Summary | |
---|---|
List<Item> |
getLeftItems()
Returns the left items. |
String |
getNonterminal()
Returns the nonterminal name of this production. |
int |
getPriority()
Returns the priority of this production. |
List<Item> |
getRightItems()
Returns the right items. |
boolean |
isLeftUnordered()
Returns unordered flag for left side. |
boolean |
isRightUnordered()
Returns unordered flag for right side. |
void |
visit(Visitor visitor)
Visits this node. |
Methods inherited from class dk.brics.xsugar.stylesheet.Unit |
---|
getLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnifyingProduction(String nonterminal, boolean left_unordered, List<Item> left_items, boolean right_unordered, List<Item> right_items, int priority, Location loc)
nonterminal
- nonterminal nameleft_unordered
- unordered flag for left sideleft_items
- left side itemsright_unordered
- unordered flag for right sideright_items
- right side itemspriority
- production priorityloc
- source locationMethod Detail |
---|
public List<Item> getLeftItems()
public String getNonterminal()
public int getPriority()
public List<Item> getRightItems()
public boolean isLeftUnordered()
public boolean isRightUnordered()
public void visit(Visitor visitor)
visitor
- visitor
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |