|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.xsugar.stylesheet.Unit
dk.brics.xsugar.stylesheet.Nonterminal
public class Nonterminal
Nonterminal.
| Constructor Summary | |
|---|---|
Nonterminal(String nonterminal,
String arg,
String example,
Location loc)
Constructs a new nonterminal. |
|
| Method Summary | |
|---|---|
String |
getArg()
Returns the argument name of this nonterminal. |
String |
getExample()
Returns the example string of this nonterminal. |
String |
getNonterminal()
Returns the nonterminal name of this nonterminal. |
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 Nonterminal(String nonterminal,
String arg,
String example,
Location loc)
nonterminal - nonterminal namearg - argument name, null if absentexample - example string, null if absentloc - source location| Method Detail |
|---|
public String getArg()
public String getExample()
public String getNonterminal()
public void visit(Visitor visitor)
visit in interface Itemvisit in interface Valuevisitor - visitor
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||