|
Tea Java Runtime API Version 3.1.0 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.pdmfc.tea.compiler.SCode
A Tea program that can be executed in a given context. A Tea program is just a sequence of Tea statements.
| Method Summary | |
java.lang.Object |
exec(SContext context)
Executes the sequence of Tea statements in the context given as argument. |
void |
prettyPrint(java.io.PrintStream out,
int indent)
This is used for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public final java.lang.Object exec(SContext context)
throws STeaException
context - Context inside wich the block will be executed.STeaException - Only thrown by the execution of one of the
statements.
public final void prettyPrint(java.io.PrintStream out,
int indent)
out - A stream where the message will be sent to.ident - Number of padding white spaces inserted into the left.
|
Tea Java Runtime API Version 3.1.0 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||