|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.yam.parse.YamNode
public class YamNode
Parent of SimpleNode
that adds state needed
for YAM translators. This includes storing first/last tokens.
Constructor Summary | |
---|---|
YamNode()
Construction. |
Method Summary | |
---|---|
String |
getAfter()
Get the after output string for this node. |
List |
getArgsList()
Get the predicate arguments list for this node. |
String |
getBefore()
Get the before output string for this node. |
String |
getBody()
Get the body output string for this node. |
String |
getEnd()
Get the end output string for this node. |
Token |
getFirstToken()
Get the first Token dominated by this node. |
Token |
getLastToken()
Get the last Token dominated by this node. |
String |
getStart()
Get the start output string for this node. |
void |
reset()
Reset the output strings. |
void |
setAfter(String after)
Set the after output string for this node. |
void |
setArgsList(List argsList)
Set the predicate arguments list for this node. |
void |
setBefore(String before)
Set the before output string for this node. |
void |
setBody(String body)
Set the body output string for this node. |
void |
setEnd(String end)
Set the end output string for this node. |
void |
setFirstToken(Token first)
Set the first Token dominated by this node. |
void |
setLastToken(Token last)
Set the last Token dominated by this node. |
void |
setStart(String start)
Set the start output string for this node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YamNode()
Method Detail |
---|
public Token getFirstToken()
public void setFirstToken(Token first)
public Token getLastToken()
public void setLastToken(Token last)
public String getStart()
public void setStart(String start)
public String getEnd()
public void setEnd(String end)
public String getBefore()
public void setBefore(String before)
public String getAfter()
public void setAfter(String after)
public String getBody()
public void setBody(String body)
public void reset()
public List getArgsList()
public void setArgsList(List argsList)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |