|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tripi.asp
Interface Node

- All Known Subinterfaces:
- FunctionNode, MapNode, ObjectNode
- All Known Implementing Classes:
- AbstractFunctionNode, ArithmeticNode, ArrayNode, BlockNode, ConditionalNode, DefaultNode, DoNode, ForEachNode, ForNode, FunctionCallNode, HTMLNode, JavaObjectNode, JavaObjectNode.JavaFieldNode, NothingNode, PackedByteArrayNode, PackedCharArrayNode, SelectNode, SetValueNode, SubDefinitionNode
- public interface Node
This is the base interface for all internal ASP objects. Implemented statements:
- Call - Fully implemented.
- Const - Implemented, TODO not for Public/Private.
- Dim - Fully implemented.
- Do ... Loop - Fully implemented.
- Erase - TODO not implemented.
- Exit ... - Fully implemented.
- For ... Next - Fully implemented.
- For Each ... Next - Fully implemented.
- Function -
- If ... Then .. Else -
- On Error -
- Option Explicit -
- Private -
- Public -
- Randomize -
- ReDim -
- Rem -
- Select Case -
- Set -
- Sub -
- While ... Wend -
- Version:
- 0.9
| Method Summary | |
void |
dump()
Dumps the node representation in ASP textual format. |
java.lang.Object |
execute(AspContext context)
Executes this node in the defined context. |
void |
prepare(AspContext context)
Prepares the code for execution. |
| Method Detail |
dump
public void dump()
throws AspException
- Dumps the node representation in ASP textual format.
This function is primarily used for debugging, but it is recommended
that the node dump itself in a format which could be re-parsed as
valid code. Whitespace need not be preserved.
prepare
public void prepare(AspContext context) throws AspException
- Prepares the code for execution. This includes defining global
functions and subroutines, setting global variables, and
any other preprocessing required. This procedure should be called
before execute(AspContext). As part of the preparation, it should call
prepare() on any child nodes it may use during execution.
execute
public java.lang.Object execute(AspContext context) throws AspException
- Executes this node in the defined context. This function should return
a valid Node or base type as a return value. It can return one of the
Exit... objects to signal the Asp server to exit the block, loop, etc.
Except in special cases, prepare(AspContext) should
be called before execute(AspContext)
|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC