dsql.parser
Class ASTSub

java.lang.Object
  extended bydsql.parser.SimpleNode
      extended bydsql.parser.DMNode
          extended bydsql.parser.ASTSub
All Implemented Interfaces:
Node

public class ASTSub
extends DMNode

A subroutine


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTSub(int id)
          Constructor for the parser
ASTSub(Parser p, int id)
          Constructor for the parser
 
Method Summary
 Value execute()
          subroutine definition
 Value executeCall(DMNode pars)
          subroutine execution
 java.lang.String getName()
           
 void setName(java.lang.String _name)
           
 
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 dsql.parser.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTSub

public ASTSub(int id)
Constructor for the parser


ASTSub

public ASTSub(Parser p,
              int id)
Constructor for the parser

Method Detail

setName

public void setName(java.lang.String _name)

getName

public java.lang.String getName()

execute

public Value execute()
              throws ExecuteException
subroutine definition

Specified by:
execute in class DMNode
Throws:
ExecuteException - If an error occurs during execution

executeCall

public Value executeCall(DMNode pars)
                  throws ExecuteException
subroutine execution

Throws:
ExecuteException