org.prorefactor.treeparser
Class Parameter

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

public class Parameter
extends java.lang.Object


Constructor Summary
Parameter()
           
 
Method Summary
 JPNode getDirectionNode()
          The node of (BUFFER|INPUT|OUTPUT|INPUTOUTPUT|RETURN).
 int getProgressType()
          Integer corresponding to TokenType for (BUFFER|VARIABLE|TEMPTABLE|DATASET|PARAMETER).
 Symbol getSymbol()
          For call arguments that are expressions, there might be no symbol (null).
 boolean isBind()
          For a TEMP-TABLE or DATASET, was the BIND keyword used?
 void setBind(boolean bind)
          Set by TreeParser01.
 void setDirectionNode(JPNode directionNode)
          Set by TreeParser01.
 void setProgressType(int progressType)
          Set by TreeParser01.
 void setSymbol(Symbol symbol)
          Set by TreeParser01.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter()
Method Detail

isBind

public boolean isBind()
For a TEMP-TABLE or DATASET, was the BIND keyword used?


getDirectionNode

public JPNode getDirectionNode()
The node of (BUFFER|INPUT|OUTPUT|INPUTOUTPUT|RETURN).


getProgressType

public int getProgressType()
Integer corresponding to TokenType for (BUFFER|VARIABLE|TEMPTABLE|DATASET|PARAMETER). The syntax PARAMETER field = expression is for RUN STORED PROCEDURE, and for those there is no symbol.


getSymbol

public Symbol getSymbol()
For call arguments that are expressions, there might be no symbol (null). For Routines, the symbol should always be non-null.


setBind

public void setBind(boolean bind)
Set by TreeParser01.


setDirectionNode

public void setDirectionNode(JPNode directionNode)
Set by TreeParser01.


setProgressType

public void setProgressType(int progressType)
Set by TreeParser01.


setSymbol

public void setSymbol(Symbol symbol)
Set by TreeParser01.



Copyright © 2008 Joanju Software. All Rights Reserved.