dsql.parser
Class ASTConcat

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

public class ASTConcat
extends ASTBinaryOperator

A concat expression, e.g. 'Hell' || 'o!'


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTConcat(int id)
          Constructor for Parser
ASTConcat(Parser p, int id)
          Constructor for Parser
 
Method Summary
 Value execute()
          Execute a Node
protected  int priority()
          operators priority: * /, + - ||, = lt gt, AND OR
 
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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTConcat

public ASTConcat(int id)
Constructor for Parser


ASTConcat

public ASTConcat(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