public interface IScriptToken extends org.apache.hivemind.Locatable
IScript
.Modifier and Type | Method and Description |
---|---|
void |
addToken(IScriptToken token)
Invoked during parsing to add the token parameter as a child
of this token.
|
void |
write(java.lang.StringBuffer buffer,
ScriptSession session)
Invoked to have the token
add its text to the buffer.
|
void write(java.lang.StringBuffer buffer, ScriptSession session)
Top level tokens (such as BodyToken) can expect that buffer will be null.
void addToken(IScriptToken token)