Decoder: General Functions

Document created by RSA Information Design and Development on Jun 25, 2017Last modified by RSA Information Design and Development on Sep 25, 2017
Version 2Show Document
  • View in full screen mode
  

This topic defines language for the flex parser general functions.

General Functions Language Definition

                                                                                                                        
Node NameAttribute NameDescription
apptype  Gets the currently defined service type for the current session.
 nameA number variable to receive the current service type. 
identify Marks the session with the parser’s service type if the service type has not already been identified. 
assign Assigns a value to a variable.
 nameThe unique identifier assigned to the item in the declaration section. 
 valueOptional. If specified, the action defined in the match is only applied when the declaration matches the given value. 
getmeta Retrieves the value of meta that generated a callback. This function will return empty results (0, zero length string) if called when there was no meta callback. 
 nameThe variable to receive the value of the meta that generated the callback.OK. 
gettoken Returns the current matched token.
 nameA string variable to receive the current matched token. If there is no current token, the variable is assigned an empty string. 
end This terminates the execution of the current match section.
if Compares two values. If the comparison is true, executes any sub-actions. Comparisons can be number or string types, as long as both values are the same type. 
 nameThe unique variable identifier assigned to the item in the declaration section.
 equal
notequal
less
lessequal
greater
greaterequal
and
or
The operation value to compare. If true, any sub-actions are executed.
register Adds metadata to the session.
 nameThe unique identifier of a meta variable to be created, as defined in the declaration section.
 valueThe value of the metadata to be created.
while Compares two values and executes any sub-actions if the comparison is true. Comparisons can be number or string types, as long as both values are the same type. 
 nameThe unique variable identifier assigned to the item in the declaration section. 
 equal
notequal
less
lessequal
greater
greaterequal
and
or
Specifies the operation value to compare. If true, any sub-action is executed. The and and or attributes signify bitwise operations and can only be applied to number variables. 
call Execute the specified match element. This can be any match element defined in the same flex parser regardless of how it was declared. 
 valueThe name of the match element, or a string variable containing the name of a match element. 
  • If the match element name is specified, the parser will not load if the named matched element doesn't exist.
  • If a string variable is specified, the call element will execute any child elements that it may have if the string value resolves to a match element after executing the named match element.
  • If no match element can be found matching the string value, no action is taken. 
You are here
Table of Contents > References > Services Config View - Files Tab > Flex Parser > General Functions

Attachments

    Outcomes