Skip to main content Skip to complementary content

GetBaseBNF Method

Overloads

GetBaseBNF(BNFType)

Gets the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language, as well as a string hash calculated from that grammar. The BNF rules define the syntax for the script statements and the script or chart functions. If the hash changes between subsequent calls to this method, this indicates that the BNF has changed.

In the Qlik engine grammars, a token is a string of one or more characters that is significant as a group. For example, a token could be a function name, a number, a letter, a parenthesis, and so on.

GetBaseBNF(BNFType)

Gets the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language, as well as a string hash calculated from that grammar. The BNF rules define the syntax for the script statements and the script or chart functions. If the hash changes between subsequent calls to this method, this indicates that the BNF has changed.

In the Qlik engine grammars, a token is a string of one or more characters that is significant as a group. For example, a token could be a function name, a number, a letter, a parenthesis, and so on.

Declaration

      public GetBaseBNFResult GetBaseBNF([QixName("qBnfType")] BNFType bnfType)
    

Parameters

Type Name Description
BNFType bnfType

The type of grammar to return:

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

Returns

Type Description
GetBaseBNFResult

Implements

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!