Next: , Previous: C Types, Up: Expression Evaluator Definitions


2.20.1.2 Completions

Completion modes describe textual expression completion syntax.

See Syntax.

Specifying the textual expression completion syntax is achieved by setting the completion field in the struct x1f4_attributes_type record argument of the expression parsing function and setting the X1f4_E4_SLIPTEST bit in the flags argument of the expression parsing function.

See struct x1f4_attributes_type.

See Generation Flags.

If the X1f4_E4_SLIPTEST bit in the flags argument of the expression parsing function is not set the completion field in the struct x1f4_attributes_type record argument of the expression parsing function is ignored and the default X1f4_E4_BYTE_COMPLETION is assumed.

X1f4_E4_BACK_COMPLETION
indicates that the expression completes with the first unmatched closing parenthesis (`)').
X1f4_E4_BYTE_COMPLETION
indicates that the expression completes with the first occurence of the characted specified by the terminator field in the struct x1f4_attributes_type record argument of the expression parsing function.