org.quattor.pan.dml.functions
Class Exists

java.lang.Object
  extended by org.quattor.pan.dml.AbstractOperation
      extended by org.quattor.pan.dml.functions.BuiltInFunction
          extended by org.quattor.pan.dml.functions.Exists
All Implemented Interfaces:
Operation
Direct Known Subclasses:
StringExists, VariableExists

public abstract class Exists
extends BuiltInFunction

Tests whether the variable referenced in the function's argument exists.

Author:
loomis

Field Summary
 
Fields inherited from class org.quattor.pan.dml.functions.BuiltInFunction
name
 
Fields inherited from class org.quattor.pan.dml.AbstractOperation
ops, sourceRange
 
Constructor Summary
protected Exists(SourceRange sourceRange, Operation... operations)
           
 
Method Summary
static Operation getInstance(SourceRange sourceRange, Operation... operations)
           
 
Methods inherited from class org.quattor.pan.dml.functions.BuiltInFunction
throwExceptionIfCompileTimeContext, toString
 
Methods inherited from class org.quattor.pan.dml.AbstractOperation
calculateArgs, calculateTerms, checkInvalidSelfContext, checkRestrictedContext, execute, getOperations, getSourceRange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Exists

protected Exists(SourceRange sourceRange,
                 Operation... operations)
          throws SyntaxException
Throws:
SyntaxException
Method Detail

getInstance

public static Operation getInstance(SourceRange sourceRange,
                                    Operation... operations)
                             throws SyntaxException
Throws:
SyntaxException


Copyright © 2011 Quattor. All Rights Reserved.