org.quattor.pan.dml.operators
Class Variable

java.lang.Object
  extended by org.quattor.pan.dml.AbstractOperation
      extended by org.quattor.pan.dml.operators.Variable
All Implemented Interfaces:
Operation
Direct Known Subclasses:
NestedVariable, SimpleVariable

public abstract class Variable
extends AbstractOperation

Looks up and potentially dereferences a variable in the execution context.

Author:
loomis

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

Field Detail

identifier

protected final java.lang.String identifier

lookupOnly

protected final boolean lookupOnly
Constructor Detail

Variable

protected Variable(SourceRange sourceRange,
                   java.lang.String identifier,
                   boolean lookupOnly,
                   Operation... operations)
Method Detail

getInstance

public static Variable getInstance(SourceRange sourceRange,
                                   java.lang.String identifier,
                                   Operation... operations)

getInstance

public static Variable getInstance(SourceRange sourceRange,
                                   java.lang.String identifier,
                                   boolean lookupOnly,
                                   Operation... operations)

getInstance

public static Variable getInstance(Variable v,
                                   boolean lookupOnly)


Copyright © 2011 Quattor. All Rights Reserved.