dsql.parser
Class ASTDot

java.lang.Object
  extended bydsql.parser.SimpleNode
      extended bydsql.parser.DMNode
          extended bydsql.parser.ASTDot
All Implemented Interfaces:
Assignable, Node

public class ASTDot
extends DMNode
implements Assignable

A dot construct, e.g. $x.FirstName


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTDot(int id)
          Constructor for the parser
ASTDot(Parser p, int id)
          Constructor for the parser
 
Method Summary
 Value execute()
          Execute a Node
protected  int getColumnInt(java.lang.String column)
           
protected  DotAt getDotAt(Value obj)
           
 void setHash()
           
 void setValue(Value to)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTDot

public ASTDot(int id)
Constructor for the parser


ASTDot

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

Method Detail

setHash

public void setHash()

toString

public java.lang.String toString()
Overrides:
toString in class SimpleNode

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 to)
              throws ExecuteException
Specified by:
setValue in interface Assignable
Throws:
ExecuteException

getDotAt

protected DotAt getDotAt(Value obj)
                  throws ExecuteException
Throws:
ExecuteException

getColumnInt

protected int getColumnInt(java.lang.String column)
                    throws ExecuteException
Throws:
ExecuteException