================================================================================
Contextual keywords as variable names in page var section
================================================================================

page 50100 "Test Page"
{
    var
        DataCaptionExpression: Text;
        ImportDataCaptionTok: Label 'Import';
        ExportDataCaptionTok: Label 'Export';
}

--------------------------------------------------------------------------------

(source_file
  (page_declaration
    (page_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (var_section
      (var_keyword)
      (variable_declaration
        name: (identifier)
        type: (type_specification
          (text_type)))
      (variable_declaration
        name: (identifier)
        type: (basic_type)
        value: (string_literal))
      (variable_declaration
        name: (identifier)
        type: (basic_type)
        value: (string_literal)))))

================================================================================
Contextual keywords in codeunit var section with mixed types
================================================================================

codeunit 50100 "Test Codeunit"
{
    var
        Caption: Text;
        Description: Text[100];
        SubType: Option A,B,C;
        SourceTable: Integer;
        ImportTok: Label 'Import';
        CustomActionType: Enum "Custom Action Type";
}

--------------------------------------------------------------------------------

(source_file
  (codeunit_declaration
    (codeunit_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (var_section
      (var_keyword)
      (variable_declaration
        name: (identifier)
        type: (type_specification
          (text_type)))
      (variable_declaration
        name: (identifier)
        type: (type_specification
          (text_type
            length: (integer))))
      (variable_declaration
        name: (identifier)
        type: (type_specification
          (option_type
            (option_member_list
              (option_member
                (identifier))
              (option_member
                (identifier))
              (option_member
                (identifier))))))
      (variable_declaration
        name: (identifier)
        type: (type_specification
          (basic_type)))
      (variable_declaration
        name: (identifier)
        type: (basic_type)
        value: (string_literal))
      (variable_declaration
        name: (identifier)
        type: (type_specification
          (object_reference_type
            object_type: (enum_keyword)
            reference: (quoted_identifier)))))))
