dsql.parser
Class ASTVariable
java.lang.Object
dsql.parser.SimpleNode
dsql.parser.DMNode
dsql.parser.ASTVariable
- All Implemented Interfaces:
- Assignable, Node
- public class ASTVariable
- extends DMNode
- implements Assignable
A variable expression, e.g. $varx. Note that this is not the
actual variable itself, which is stored in the document.
Methods inherited from class dsql.parser.DMNode |
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, executeXML, getArgument, getCaller, getDsqlParent, getLine, getRoot, getString, hasArgument, jjtInsertFirstChild, jjtSetChild, setCaller, setLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTVariable
public ASTVariable(int id)
- Constructor for the parser
ASTVariable
public ASTVariable(Parser p,
int id)
- Constructor for the parser
getName
public java.lang.String getName()
setName
public void setName(java.lang.String _name)
setDocument
public void setDocument(ASTDoc _doc)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleNode
getValue
public Value getValue()
throws ExecuteException
- Throws:
ExecuteException
execute
public Value execute()
throws ExecuteException
- Description copied from class:
DMNode
- Execute a Node
- Specified by:
execute
in class DMNode
- Throws:
ExecuteException
- If an error occurs during execution
setValue
public void setValue(Value val)
- Specified by:
setValue
in interface Assignable