org.prorefactor.treeparser
Class CQ

java.lang.Object
  extended by org.prorefactor.treeparser.CQ

public class CQ
extends java.lang.Object

Context qualifiers. This class may not be instantiated.


Field Summary
static int BUFFERSYMBOL
          Referencing a buffer symbol.
static int INIT
          Is the symbol reference also an initializer? i.e.
static int INITWEAK
          INIT, but for a "weak" scoped buffer
static int REF
          Referencing the symbol's value.
static int REFUP
          Reference and update the symbol's value.
static int SCHEMATABLESYMBOL
          A schema table symbol.
static int SYMBOL
          We are strictly referencing the symbol - not its value.
static int TEMPTABLESYMBOL
          A temp or work table symbol.
static int UPDATING
          Updating the symbol's value.
 
Method Summary
static boolean isRead(int cq)
          Is symbol's value "read" in this context?
static boolean isWrite(int cq)
          Is the symbol's value "written" in this context?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT

public static final int INIT
Is the symbol reference also an initializer? i.e. An input parameter. Also used in FIND statement for record buffer.

See Also:
Constant Field Values

REF

public static final int REF
Referencing the symbol's value.

See Also:
Constant Field Values

REFUP

public static final int REFUP
Reference and update the symbol's value. Usually this is in an UPDATE statement, which displays and updates.

See Also:
Constant Field Values

UPDATING

public static final int UPDATING
Updating the symbol's value.

See Also:
Constant Field Values

SYMBOL

public static final int SYMBOL
We are strictly referencing the symbol - not its value. Used both for field and table symbols. For table symbols, the lookup is done by schema symbols first, buffer symbols second.

See Also:
Constant Field Values

BUFFERSYMBOL

public static final int BUFFERSYMBOL
Referencing a buffer symbol. The lookup is done by buffer symbols first, schema symbols second.

See Also:
Constant Field Values

TEMPTABLESYMBOL

public static final int TEMPTABLESYMBOL
A temp or work table symbol.

See Also:
Constant Field Values

SCHEMATABLESYMBOL

public static final int SCHEMATABLESYMBOL
A schema table symbol.

See Also:
Constant Field Values

INITWEAK

public static final int INITWEAK
INIT, but for a "weak" scoped buffer

See Also:
Constant Field Values
Method Detail

isRead

public static boolean isRead(int cq)
Is symbol's value "read" in this context?


isWrite

public static boolean isWrite(int cq)
Is the symbol's value "written" in this context?



Copyright © 2008 Joanju Software. All Rights Reserved.