================================================================================
Empty attribute arguments - TryFunction
================================================================================

codeunit 50000 "Test Empty Attributes"
{
    [TryFunction()]
    procedure TestEmptyAttributeArgs()
    begin
        // Code here
    end;
}

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

(source_file
  (codeunit_declaration
    (codeunit_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (attribute_item
      attribute: (attribute_content
        name: (identifier)
        arguments: (attribute_arguments)))
    (procedure
      (procedure_keyword)
      name: (identifier)
      (code_block
        (comment)))))

================================================================================
Multiple attributes with empty and non-empty arguments
================================================================================

codeunit 50001 "Test Mixed Attributes"
{
    [TryFunction()]
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Test", 'OnTest', '', false, false)]
    procedure TestMixedAttributes()
    begin
        // Code here
    end;
}

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

(source_file
  (codeunit_declaration
    (codeunit_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (attribute_item
      attribute: (attribute_content
        name: (identifier)
        arguments: (attribute_arguments)))
    (attribute_item
      attribute: (attribute_content
        name: (identifier)
        arguments: (attribute_arguments
          (attribute_argument_list
            (qualified_enum_value
              enum_type: (identifier)
              value: (identifier))
            (database_reference
              keyword: (object_type_keyword)
              table_name: (quoted_identifier))
            (string_literal)
            (string_literal)
            (boolean)
            (boolean)))))
    (procedure
      (procedure_keyword)
      name: (identifier)
      (code_block
        (comment)))))

================================================================================
NonDebuggable with empty arguments
================================================================================

codeunit 50002 "Test NonDebuggable"
{
    [NonDebuggable()]
    procedure TestNonDebuggable()
    begin
        // Code here
    end;
}

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

(source_file
  (codeunit_declaration
    (codeunit_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (attribute_item
      attribute: (attribute_content
        name: (identifier)
        arguments: (attribute_arguments)))
    (procedure
      (procedure_keyword)
      name: (identifier)
      (code_block
        (comment)))))
