IRISLIB database
Parser Class Reference

Include qaqplex. More...

Inheritance diagram for Parser:
Collaboration diagram for Parser:

Public Member Functions

_.Library.Integer CheckDollar (_.Library.String pString)
 Include qaqplex. More...
 
_.Library.Boolean IsCastType (_.Library.String pToken, pFunctionArity)
 Type arguments in the CAST function can look like.
 
_.Library.Boolean IsDSMacro (_.Library.String pToken, pFunctionArity)
 Test for one of the DeepSee-specific macro functions.
 
_.Library.Boolean IsFunction (_.Library.String pToken, pFunctionArity)
 Test for a supported function.
 
_.Library.Boolean IsScalarFunction (_.Library.String pToken, pFunctionArity)
 Test for a supported scalar function.
 
_.Library.Boolean IsSeparatorChar (_.Library.String pChar, _.Library.Integer pPosition)
 Test for a characer separating two different terms.
 
_.Library.Boolean IsWhiteSpace (_.Library.String pChar)
 Test for white space character.
 
_.Library.Status PopState ()
 Restore the last state from the top of the stack.
 
_.Library.Status PushState ()
 Push the current parser state to the stack and initialize a new state object.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 stack
 Stack for changing state. More...
 
 state
 Any state information can be packed into this object, which can be pushed or popped from a stack if needed. More...
 

Private Member Functions

_.Library.DynamicArray GetTokenList ()
 Returns the current TokenList array.
 
_.Library.Status InitializeState ()
 Initialize the state object.
 
_.Library.Boolean IsOperatorChar (_.Library.String pChar, pOpLength)
 Test for a single-character operator.
 
_.Library.Boolean IsOperatorToken (_.Library.String pToken)
 Test for an opertor token of arbitrary length.
 
_.Library.Status OnNew (_.Library.String pInput)
 Optionally set the input as the object is created.
 
_.Library.String PrintInput (pVerbose)
 Print the current inputas set by <method>SetInput</method>. More...
 
_.Library.String ProcessDsTEXT (_.Library.DynamicArray pTextMacroTokens, _.Library.String pDomain, pStatus, _.Library.Boolean pLocalize)
 Extract the display header from the $$$TEXT macro. More...
 
_.Library.Status ProcessSelectItem (_.Library.DynamicArray pSelectItemTokens, pHeaderPos, _.Library.String pDomain, pSelectItemPair, _.Library.Boolean pLocalize)
 Reassemble the select Item in both the logical and display versions. More...
 
_.Library.Status SetInput (pInput)
 Set the current input to be analyzed.
 
_.Library.Status Tokenize ()
 Walk through the string per character and tokenize.
 

Static Private Member Functions

_.Library.Status ParseSelect (_.Library.DynamicArray pSelectTokens, pParsedTree, pSpecialTokens)
 Parse SELECT list for a DeepSee listing. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

Include qaqplex.

Member Function Documentation

◆ CheckDollar()

_.Library.Integer CheckDollar ( _.Library.String  pString)

Include qaqplex.

Investigate the current position for $ tokens. Returns the number of

consecutive dollar sign characters beginning at the current position

◆ ParseSelect()

_.Library.Status ParseSelect ( _.Library.DynamicArray  pSelectTokens,
  pParsedTree,
  pSpecialTokens 
)
staticprivate

Parse SELECT list for a DeepSee listing.

The output pParsedTree is a DynamicArray containing the individual select terms.

◆ PrintInput()

_.Library.String PrintInput (   pVerbose)
private

Print the current inputas set by <method>SetInput</method>.

If pVerbose = 1, print the string

to the current device.

◆ ProcessDsTEXT()

_.Library.String ProcessDsTEXT ( _.Library.DynamicArray  pTextMacroTokens,
_.Library.String  pDomain,
  pStatus,
_.Library.Boolean  pLocalize 
)
private

Extract the display header from the $$$TEXT macro.

The parameter pLocalize allows the caller to request translation

of the header string to the current locale. A default domain for this translation can be supplied via pDomain. When defined, this default is used if there is no domain explicitly declared as the second argument of $$$TEXT.

◆ ProcessSelectItem()

_.Library.Status ProcessSelectItem ( _.Library.DynamicArray  pSelectItemTokens,
  pHeaderPos,
_.Library.String  pDomain,
  pSelectItemPair,
_.Library.Boolean  pLocalize 
)
private

Reassemble the select Item in both the logical and display versions.

The parameter pLocalize allows the caller to request translation

of the header string to the current locale. A default domain for this translation can be supplied via pDomain. When defined, this default is used if there is no domain explicitly declared as the second argument of $$$TEXT.

Member Data Documentation

◆ stack

stack

Stack for changing state.

 

◆ state

state

Any state information can be packed into this object, which can be pushed or popped from a stack if needed.