Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.

 

Package: com.arsi.mj.maprpt.lexer.symtab.arrdecl  previous next contents

Package com.arsi.mj.maprpt.lexer.symtab.arrdecl contains the following classes and interfaces.
Classes and Interfaces
ArrayDeclBase Abstract base class that represents an array declaration.
ArrayDeclPeekSizeAndDim Array declaration where value of other variable(s) must be "peeked at" to properly determine the size (precision and optional scale) and dimension of the declared array.
ArrayDeclStaticDimPeekSize Array declaration where value of other variable(s) must be "peeked at" to properly determine the size (precision and optional scale) and dimension of the declared array.
ArrayDeclStaticDimPrecisionPeekScale Array declaration where where dimension and precision are static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the scale of the declared array.
ArrayDeclStaticDimScalePeekPrecision Array declaration where where dimension and scale are static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the precision of the declared array.
ArrayDeclStaticPrecisionPeekScaleDim Array declaration where where precision is static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the scale and dimension of the declared array.
ArrayDeclStaticScalePeekPrecisionDim Array declaration where where scale is static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the precision and dimension of the declared array.
ArrayDeclStaticSizeAndDim Array declaration where size (precision and scale) and dimension are static, i.e., known at compile-time.
ArrayDeclStaticSizePeekDim Array declaration where where size (precision and scale) is static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the dimension of the declared array.
ISupportsArrayDeclaration Defines mechanism for target parse node (or other object) to list array variables declared.

Class: ArrayDeclBase   next package

Abstract base class that represents an array declaration.
public abstract class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
  extends java.lang.Object
Inner Class ArrayDeclIdentity
Nested class that represents identity of array being declared.
public static class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity
  extends com.arsi.mj.maprpt.lexer.symtab.VariableIdentity
Public ctor for initializing an instance of this class.
Parameters:
anIdentity - identity of variable.
public ArrayDeclBase.ArrayDeclIdentity(com.arsi.mj.maprpt.lexer.symtab.VariableIdentity anIdentity)
Public ctor for initializing an instance of this class.
Parameters:
anIdentType - identifies array as named or numbered.
aVarType - specifies type of array as it would be specified in a Mapper RUN.
anIdentValue - name (String) or number (Integer) of array.
aScope - scope of array.
public ArrayDeclBase.ArrayDeclIdentity(com.arsi.mj.maprpt.lexer.symtab.VarIdentType anIdentType, java.lang.Object anIdentValue, com.arsi.mj.VariableScope aScope)
Get canonical variable identity for comparing to other identities in symbol table.
Returns:
canonical variable identity for comparison and lookup.
public com.arsi.mj.maprpt.lexer.symtab.VariableIdentity variableIdentityForSymbolTable()
Fields
Identifies array being declared.
protected final com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity arrayIdentity
Variable type being voted for as it would be specified in a Mapper RUN.
protected com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType arrayType
Fundamental, scalar type of array.
protected com.arsi.mj.datatype.MaprptDataType dataType
Constructors
Restricted ctor for initializing an instance of this class.
Parameters:
aDataType - fundamental, scalar type of declared array.
anArrayType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
protected ArrayDeclBase(com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType anArrayType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)
Methods
Identifies declared array.
public final com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity arrayIdentity()
Get array type as it would be specified in a Mapper RUN.
public com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType arrayType()
Get fundamental, scalar type of array.
public com.arsi.mj.datatype.MaprptDataType dataType()

Class: ArrayDeclPeekSizeAndDim   previous next package

Array declaration where value of other variable(s) must be "peeked at" to properly determine the size (precision and optional scale) and dimension of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclPeekSizeAndDim
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Identifies variable-to-peek-at to get dimension, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekDimensionVarRefIdent
Identifies variable-to-peek-at to get precision.
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekPrecisionVarRefIdent
Identifies variable-to-peek-at to get scale, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekScaleVarRefIdent
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecisionVarRefIdent - identifies variable-to-peek-at to get precision.
aScaleVarRefIdent - identifies variable-to-peek-at to get scale, if any (may be NULL).
aDimensionVarRefIdent - identifies variable-to-peek-at to get dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclPeekSizeAndDim(com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aPrecisionVarRefIdent, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aScaleVarRefIdent, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aDimensionVarRefIdent, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticDimPeekSize   previous next package

Array declaration where value of other variable(s) must be "peeked at" to properly determine the size (precision and optional scale) and dimension of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticDimPeekSize
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Compile-time dimension of array.
public final java.lang.Integer dimension
Identifies variable-to-peek-at to get precision.
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekPrecisionVarRefIdent
Identifies variable-to-peek-at to get scale, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekScaleVarRefIdent
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecisionVarRefIdent - identifies variable-to-peek-at to get precision.
aScaleVarRefIdent - identifies variable-to-peek-at to get scale, if any (may be NULL).
aDimension - compile-time dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticDimPeekSize(com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aPrecisionVarRefIdent, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aScaleVarRefIdent, java.lang.Integer aDimension, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticDimPrecisionPeekScale   previous next package

Array declaration where where dimension and precision are static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the scale of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticDimPrecisionPeekScale
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Compile-time dimension of array.
public final java.lang.Integer dimension
Identifies variable-to-peek-at to get scale, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekScaleVarRefIdent
Compile-time precision of array.
public final java.lang.Integer precision
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecision - compile-time precision of array.
aScaleVarRefIdent - identifies variable-to-peek-at to get scale, if any (may be NULL).
aDimension - compile-time dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticDimPrecisionPeekScale(java.lang.Integer aPrecision, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aScaleVarRefIdent, java.lang.Integer aDimension, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticDimScalePeekPrecision   previous next package

Array declaration where where dimension and scale are static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the precision of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticDimScalePeekPrecision
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Compile-time dimension of array.
public final java.lang.Integer dimension
Identifies variable-to-peek-at to get precision.
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekPrecisionVarRefIdent
Compile-time scale of array.
public final java.lang.Integer scale
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecisionVarRefIdent - identifies variable-to-peek-at to get precision.
aScale - compile-time scale of array.
aDimension - compile-time dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticDimScalePeekPrecision(com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aPrecisionVarRefIdent, java.lang.Integer aScale, java.lang.Integer aDimension, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticPrecisionPeekScaleDim   previous next package

Array declaration where where precision is static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the scale and dimension of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticPrecisionPeekScaleDim
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Identifies variable-to-peek-at to get dimension, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekDimensionVarRefIdent
Identifies variable-to-peek-at to get scale, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekScaleVarRefIdent
Compile-time precision of array.
public final java.lang.Integer precision
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecision - compile-time precision of array.
aScaleVarRefIdent - identifies variable-to-peek-at to get scale, if any (may be NULL).
aDimensionVarRefIdent - identifies variable-to-peek-at to get dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticPrecisionPeekScaleDim(java.lang.Integer aPrecision, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aScaleVarRefIdent, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aDimensionVarRefIdent, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticScalePeekPrecisionDim   previous next package

Array declaration where where scale is static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the precision and dimension of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticScalePeekPrecisionDim
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Identifies variable-to-peek-at to get dimension, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekDimensionVarRefIdent
Identifies variable-to-peek-at to get precision.
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekPrecisionVarRefIdent
Compile-time scale of array.
public final java.lang.Integer scale
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecisionVarRefIdent - identifies variable-to-peek-at to get precision.
aScale - compile-time scale of array.
aDimensionVarRefIdent - identifies variable-to-peek-at to get dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticScalePeekPrecisionDim(com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aPrecisionVarRefIdent, java.lang.Integer aScale, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aDimensionVarRefIdent, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticSizeAndDim   previous next package

Array declaration where size (precision and scale) and dimension are static, i.e., known at compile-time.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticSizeAndDim
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Compile-time dimension of array.
public final java.lang.Integer dimension
Compile-time precision of array.
public final java.lang.Integer precision
Compile-time scale of array.
public final java.lang.Integer scale
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecision - compile-time precision of array.
aScale - compile-time scale of array.
aDimension - compile-time dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticSizeAndDim(java.lang.Integer aPrecision, java.lang.Integer aScale, java.lang.Integer aDimension, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Class: ArrayDeclStaticSizePeekDim   previous next package

Array declaration where where size (precision and scale) is static (known at compile time), but value of other variable(s) must be "peeked at" to properly determine the dimension of the declared array.
public class com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclStaticSizePeekDim
  extends com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase
Fields
Identifies variable-to-peek-at to get dimension, if any (may be NULL).
public final com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity peekDimensionVarRefIdent
Compile-time precision of array.
public final java.lang.Integer precision
Compile-time scale of array.
public final java.lang.Integer scale
Constructors
Public ctor for initializing an instance of this class.
Parameters:
aPrecision - compile-time precision of array.
aScale - compile-time scale of array.
aDimensionVarRefIdent - identifies variable-to-peek-at to get dimension of array.
aDataType - fundamental, scalar type of declared array.
aVariableType - type of declared array as it would be specified in a Mapper RUN.
anArrayDeclIdent - identifies declared array.
public ArrayDeclStaticSizePeekDim(java.lang.Integer aPrecision, java.lang.Integer aScale, com.arsi.mj.maprpt.lexer.symtab.VariableReferenceIdentity aDimensionVarRefIdent, com.arsi.mj.datatype.MaprptDataType aDataType, com.arsi.mj.maprpt.lexer.ptree.cmd.MaprptVariableType aVariableType, com.arsi.mj.maprpt.lexer.symtab.arrdecl.ArrayDeclBase.ArrayDeclIdentity anArrayDeclIdent)

Interface: ISupportsArrayDeclaration   previous package

Defines mechanism for target parse node (or other object) to list array variables declared.
public interface com.arsi.mj.maprpt.lexer.symtab.arrdecl.ISupportsArrayDeclaration
Methods
Enumerate all array variables declared by parse node (or other object).
Returns:
list of variable declaration information.
public java.util.List declareArrayVariables()