dsql.parser
Class ASTEquals

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

public class ASTEquals
extends ASTBinaryOperator

An equal expression, e.g. $x = 'ha!'


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTEquals(int id)
          Constructor for Parser
ASTEquals(Parser p, int id)
          Constructor for Parser
 
Method Summary
 Value execute()
          Execute a Node
protected  int priority()
          operators priority: * /, + - ||, = lt gt, AND OR
 java.lang.String toString()
           
 
Methods inherited from class dsql.parser.ASTBinaryOperator
getString
 
Methods inherited from class dsql.parser.DMNode
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, executeXML, getArgument, getCaller, getDsqlParent, getLine, getRoot, 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

ASTEquals

public ASTEquals(int id)
Constructor for Parser


ASTEquals

public ASTEquals(Parser p,
                 int id)
Constructor for Parser

Method Detail

priority

protected int priority()
Description copied from class: ASTBinaryOperator
operators priority: * /, + - ||, = lt gt, AND OR

Overrides:
priority in class ASTBinaryOperator

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

toString

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