Keywords

This appendix lists the keywords of EFX, with the case in which you write them and the entries that describe them. You write the keywords of statements in upper case, and the keywords of expressions in lower case. For the rules of case, see Case sensitivity. For the role of keywords, see Keywords.

A name written after a prefix, such as a variable $date or a codelist [...text], can be the same as a keyword. The names of built-in functions are also reserved. You find them in Alphabetical list of functions.

Keywords of statements

You write these keywords in upper case. In lower case, they are ordinary words.

Keyword Used in

LET

Variable declaration, Dictionary declaration, User-defined function declaration, Template section, Dynamic function declaration

WITH

Single expression, Selector, Context declaration, WITH clause

EVERY (after WITH)

WITH clause

COMPUTE

Single expression

SELECT

Selector

DISPLAY

DISPLAY

WHEN

Conditional display, WHEN clause

OTHERWISE

Conditional display, OTHERWISE clause

INVOKE

Template invocation

INDEX, BY

Dictionary declaration

ASSERT

ASSERT clause

REPORT

REPORT clause

AS

AS clause

ANY

IN clause

STAGE

Validation stage

ENDPOINT, AT

API endpoint declaration

CALL, API, ON, WARN, REJECT

Dynamic function declaration

ERROR, WARNING, INFO

AS clause; ERROR also in Dynamic function declaration

IS, NOT, EMPTY, PRESENT, REPEATED, MODIFIED, ADDED, REMOVED, VIA, OCCURS, LENGTH, VALUE, BETWEEN, AND, LIKE

Semantic assertion. In lower case, not, and and like are operators of expressions, and is is part of conditions such as is present.

FOR

FOR clause

IN

IN clause

SCOPE, @PRE, @POST

SCOPE clause

TEMPLATE

Template section

MAIN

Main section

HEADER, #HEADING, #SUBHEADING, #TITLE, #COUNTRY, #MAIN-CLASSIFICATION, #MAIN-NATURE, #FORM-TYPE, #NOTICE-TYPE, #PUBLICATION-NUMBER, #OJ-ISSUE, #PUBLICATION-DATE

Header section

SUMMARY

Summary section

NAVIGATION

Navigation section

Indicator literals

Keyword Used in

TRUE, FALSE, ALWAYS, NEVER (upper case)

Indicator literal

Keywords of expressions

You write these keywords in lower case. You write the field properties as one word, with an upper-case letter at the start of each part after the first, such as rawValue.

Keyword Used in

and, or

Logical operators

not

the function not, and the operators not in, not like and is not …

in

Membership, Uniqueness, Iteration, Quantified expression

like

Pattern matching

is, present

Presence

empty

Emptiness, and the function empty

unique

Uniqueness

has, no, duplicates

Duplicates

if, then, else

Conditional expression

for, return, distinct

Iteration

every, some, satisfies

Quantified expression

at

Index

text, number, indicator, date, time, duration

the data types (see Data types), in declarations, iterators and parameters; also the names of the conversion functions (string is another name for the function text)

context

Context (variable type), Context variable

dynamic

Dynamic variable, Dynamic function declaration

value

$value in an Expression block, #value in a Label block

#include

Include directive (templates), Include directive (rules)

rawValue, publicationDate, justificationCode, justificationDescription, privacyCode, wasWithheld, isWithheld, isWithholdable, isDisclosed, isMasked, preferredLanguage, preferredLanguageText

Field property

asset types business-term, field, node, group, view, notice, codelist, code, indicator, auxiliary, rule, expression, interval, pattern; label types name, when-true, when-false, description, hint, text, template

Label block

short, medium, long, no-unit, no-formatting

the format options of an Expression block