Skip to main content Skip to complementary content

GetBNF method

Overview

Returns a set of rules defining the Qlik Sense scripting language grammar. These rules define the syntax for the script statements and the script or chart functions.

Information noteA way to retrieve the list of script statements, script functions or chart functions is to call the GetBNF method.

Terminology

  • BNF stands for Backus-Naur Form.
  • A token is a string of one or more characters that is significant as a group. For example, a token can be a function name, a parenthesis '('.

Parameters

Name Description Type
qBnfType

Returns a set of rules defining the syntax for:

  • the script statements and the script functions if qBnfType is set to S.
  • the chart functions if qBnfType is set to E.

One of:

  • S for SCRIPT_TEXT_SCRIPT
  • E for SCRIPT_TEXT_EXPRESSION

Outputs

The following is returned in the output:

Name Description Type
qBnfDefs Description of the scripting language grammar.

Array of BNFDef

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!