|
||||||
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.RegexpTerminal
public class RegexpTerminal
Regexp terminal.
Constructor Summary | |
---|---|
RegexpTerminal(String terminal,
String arg,
String example,
Location loc)
Constructs a new regexp terminal. |
Method Summary | |
---|---|
String |
getArg()
Returns the argument name of this regexp terminal. |
String |
getExample()
Returns the example string of this regexp terminal. |
String |
getTerminal()
Returns the regexp name of this regexp terminal. |
void |
setTerminal(String terminal)
Sets the regexp name of this regexp terminal. |
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 RegexpTerminal(String terminal, String arg, String example, Location loc)
terminal
- regexp namearg
- argument name, null if absentexample
- example string, null if absentloc
- source locationMethod Detail |
---|
public String getArg()
public String getExample()
public String getTerminal()
public void setTerminal(String terminal)
terminal
- regexp namepublic void visit(Visitor visitor)
visit
in interface Item
visit
in interface Name
visit
in interface Value
visitor
- visitor
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |