|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.gate.yam.parse.YamNode
class YamNode
Parent of gate.yam.parse.SimpleNode that adds state needed for YAM translators. This includes storing first/last tokens.
Field Summary | |
---|---|
String |
after
|
List |
argsList
Argument list for predicates. |
String |
before
|
String |
body
|
String |
end
|
Token |
first
Tokens dominated by this node. |
Token |
last
|
String |
start
Start, end, before, after body. |
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 Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
String after
List argsList
String before
String body
String end
Token first
Token last
String start
Constructor Detail |
---|
public YamNode()
Method Detail |
---|
public String getAfter()
public List getArgsList()
public String getBefore()
public String getBody()
public String getEnd()
public Token getFirstToken()
public Token getLastToken()
public String getStart()
public void reset()
public void setAfter(String after)
public void setArgsList(List argsList)
public void setBefore(String before)
public void setBody(String body)
public void setEnd(String end)
public void setFirstToken(Token first)
public void setLastToken(Token last)
public void setStart(String start)
Groovy Documentation