# BNFDef

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qBnf | Array of token references that all together build up the definition of the current token.<br>Generally, if the array is not empty, the definition is a BNF rule (*qIsBnfRule* is set to true). However, some BNF rules do have an empty array (*qIsBnfRule* is set to true, but *qBnf* is empty). | Array of Integer |
| qNbr | Number of the current token definition. | Integer |
| qPNbr | Number of the parent rule definition. | Integer |
| qHelpId | Reference identifier to a function described in the documentation. The identifier is stored in the definition of the token containing the function name.<br>Is not used in Qlik Sense. | Integer |
| qName | Token name.<br>One of:<br><br><ul><li>A rule name</li><li>An identifier</li><li>A literal value</li></ul> | String |
| qStr | Literal string of the token.<br>Examples: 'Round' and '('. | String |
| qIsBnfRule | If set to true, a list of related rule tokens is assigned to *qBnf* .<br>This parameter is optional. The default value is false. | Boolean |
| qScriptStatement | If set to true, the definition specifies a script statement.<br>This parameter is optional. The default value is false. | Boolean |
| qControlStatement | If set to true, the definition specifies a control statement.<br>This parameter is optional. The default value is false. | Boolean |
| qBnfLiteral | If set to true, the definition specifies a literal token.<br>This parameter is optional. The default value is false. | Boolean |
| qQvFunc | If set to true, the definition is related to a Qlik Sense function. It cannot be an aggregation function.<br>This parameter is optional. The default value is false. | Boolean |
| qAggrFunc | If set to true, the definition is related to an aggregation function.<br>This parameter is optional. The default value is false. | Boolean |
| qFG | Group of the function.<br><br>One of:<br><br><ul><li>ALL or FUNC_GROUP_ALL</li><li>U or FUNC_GROUP_UNKNOWN</li><li>NONE or FUNC_GROUP_NONE</li><li>AGGR or FUNC_GROUP_AGGR</li><li>NUM or FUNC_GROUP_NUMERIC</li><li>RNG or FUNC_GROUP_RANGE</li><li>EXP or FUNC_GROUP_EXPONENTIAL_AND_LOGARITHMIC</li><li>TRIG or FUNC_GROUP_TRIGONOMETRIC_AND_HYPERBOLIC</li><li>FIN or FUNC_GROUP_FINANCIAL</li><li>MATH or FUNC_GROUP_MATH_CONSTANT_AND_PARAM_FREE</li><li>COUNT or FUNC_GROUP_COUNTER</li><li>STR or FUNC_GROUP_STRING</li><li>MAPP or FUNC_GROUP_MAPPING</li><li>RCRD or FUNC_GROUP_INTER_RECORD</li><li>CND or FUNC_GROUP_CONDITIONAL</li><li>LOG or FUNC_GROUP_LOGICAL</li><li>NULL or FUNC_GROUP_NULL</li><li>SYS or FUNC_GROUP_SYSTEM</li><li>FILE or FUNC_GROUP_FILE</li><li>TBL or FUNC_GROUP_TABLE</li><li>DATE or FUNC_GROUP_DATE_AND_TIME</li><li>NUMI or FUNC_GROUP_NUMBER_INTERPRET</li><li>FRMT or FUNC_GROUP_FORMATTING</li><li>CLR or FUNC_GROUP_COLOR</li><li>RNK or FUNC_GROUP_RANKING</li><li>GEO or FUNC_GROUP_GEO</li><li>EXT or FUNC_GROUP_EXTERNAL</li><li>PROB or FUNC_GROUP_PROBABILITY</li><li>ARRAY or FUNC_GROUP_ARRAY</li><li>LEG or FUNC_GROUP_LEGACY</li><li>DB or FUNC_GROUP_DB_NATIVE</li><li>WINDOW or FUNC_GROUP_WINDOW</li></ul> | String |
| qFieldFlag | If set to true, the definition is related to a field.<br>This parameter is optional. The default value is false. | Boolean |
| qMT | Type of the data.<br><br>One of:<br><br><ul><li>N or NOT_META</li><li>D or META_DOC_NAME</li><li>R or META_RET_TYPE</li><li>V or META_DEFAULT_VALUE</li></ul> | String |
| qDepr | Indicates whether a script statement, a chart or a script function is deprecated (not recommended for use).<br>If set to true, the script statement or the function is not recommended for use in Qlik Sense.<br>This parameter is optional. The default value is false. | Boolean |
| qFGList | List of groups the function belongs to. | Array |