|
|||||||||
| 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
Class GetIndexNode

java.lang.Objectcom.tripi.asp.DefaultNode
com.tripi.asp.GetIndexNode
- All Implemented Interfaces:
- Node
- public class GetIndexNode
- extends DefaultNode
This node handles the "map" expression in vbscript, such as Session("variable").
- Version:
- 0.9
| Field Summary | |
(package private) static org.apache.log4j.Category |
DBG
Debugging category |
(package private) VarListNode |
expr
Parameters to field expression |
(package private) boolean |
func
Is this expression for functions only? |
(package private) Node |
ident
Expression to obtain index of |
| Constructor Summary | |
GetIndexNode(Node ident,
VarListNode expr)
Constructor. |
|
GetIndexNode(Node ident,
VarListNode expr,
boolean func)
Constructor. |
|
| Method Summary | |
void |
dump()
Dumps the visual representation of this expression. |
java.lang.Object |
execute(AspContext context)
Executes this node. |
VarListNode |
getExpression()
Get the parameters. |
Node |
getIdent()
Get the identifier. |
void |
setFunction(boolean isFunction)
Set the function flag. |
| Methods inherited from class com.tripi.asp.DefaultNode |
prepare |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DBG
static org.apache.log4j.Category DBG
- Debugging category
ident
Node ident
- Expression to obtain index of
expr
VarListNode expr
- Parameters to field expression
func
boolean func
- Is this expression for functions only?
| Constructor Detail |
GetIndexNode
public GetIndexNode(Node ident, VarListNode expr)
- Constructor. Can be used for arrays, functions, and subroutines.
GetIndexNode
public GetIndexNode(Node ident, VarListNode expr, boolean func)
- Constructor. Can be used to mark that subroutines not allowed.
| Method Detail |
getExpression
public VarListNode getExpression()
- Get the parameters.
getIdent
public Node getIdent()
- Get the identifier.
dump
public void dump()
throws AspException
- Dumps the visual representation of this expression.
- Specified by:
dumpin interfaceNode- Overrides:
dumpin classDefaultNode
execute
public java.lang.Object execute(AspContext context) throws AspException
- Executes this node.
- Specified by:
executein interfaceNode- Overrides:
executein classDefaultNode
setFunction
public void setFunction(boolean isFunction)
- Set the function flag.
|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC