pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions
Class NonParametricExpression

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.AbstractSyntaxTree
        |
        +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.Expression
              |
              +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.UnaryExpression
                    |
                    +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.NonParametricExpression
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbsoluteValueExpression, AscendingExpression, AverageExpression, BagExpression, CosineExpression, CountExpression, CreateExpression, CreateLocalExpression, CreatePermanentExpression, DereferenceExpression, DescendingExpression, ExistsExpression, ExponentExpression, LogarithmExpression, MaximumExpression, MinimumExpression, NegationExpression, PreDecrementExpression, PreIncrementExpression, ProcedureCallExpression, SequenceExpression, SignumExpression, SineExpression, SquareRootExpression, StructExpression, SumExpression, ToBagExpression, ToDoubleExpression, ToIntegerExpression, ToSequenceExpression, ToSingleExpression, ToStringExpression, ToStructExpression, UMinusExpression, UniqueExpression, UPlusExpression

public abstract class NonParametricExpression
extends UnaryExpression

The NonParametricExpression class represents the unary non parametric expression nodes in the abstract syntax tree.

Author:
Jakub Trzetrzelewski, jakub_trzetrzelewski@yahoo.com
See Also:
Serialized Form

Fields inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.UnaryExpression
r
 
Constructor Summary
NonParametricExpression(Expression r)
          Creates a new unary non parametric expression node with the given expression r.
 
Method Summary
 void accept(Visitor v)
          Method responsible for traversing the abstract syntax tree structure.
 
Methods inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.UnaryExpression
show
 
Methods inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.AbstractSyntaxTree
getLongestTypeAsSpacesString, getPreparedTypeAsString, getSpellingAndPosition, getTypeAsString, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonParametricExpression

public NonParametricExpression(Expression r)
Creates a new unary non parametric expression node with the given expression r.
Parameters:
r - any expression.
Method Detail

accept

public void accept(Visitor v)
            throws EvalException
Method responsible for traversing the abstract syntax tree structure.
Overrides:
accept in class AbstractSyntaxTree
Parameters:
v - the visitor.
Throws:
EvalException - if evaluation fails.
See Also:
Visitor