deferred class CLARG_PARSER
Summary
Class invariant
Overview
Features
parsing
Implementation of ARGUMENTS (do not use directly):
patterns
queries
usage output helpers
writable attribute
usage: FIXED_STRING
writable attribute
index: INTEGER_32
writable attribute
is_mandatory: BOOLEAN
writable attribute
is_set: BOOLEAN
deferred function
force_index (a_index: INTEGER_32)
effective procedure
is_optional: BOOLEAN
effective function
is_positional: BOOLEAN
effective function
can_be_mandatory: BOOLEAN
is True
constant attribute
can_be_optional: BOOLEAN
effective function
out_in_tagged_out_memory
effective procedure
Append terse printable representation of current object in tagged_out_memory.
parse_command_line (context: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
effective function
usage_summary (stream: OUTPUT_STREAM)
effective procedure
usage_details (stream: OUTPUT_STREAM)
effective procedure
set_mandatory (parent_option: CLARG_PARSER, enable: BOOLEAN)
effective procedure
is_set_at (context: COMMAND_LINE_CONTEXT): BOOLEAN
deferred function
parse_positional (context: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
effective function
effective function
effective function
set_data_ (context: COMMAND_LINE_CONTEXT, data: STRING)
effective procedure
is_valid_data (data: STRING): BOOLEAN
deferred function
set_data (context: COMMAND_LINE_CONTEXT, data: STRING)
deferred procedure
optional (a_short: ABSTRACT_STRING, a_long: ABSTRACT_STRING, a_name: ABSTRACT_STRING, a_usage: ABSTRACT_STRING)
effective procedure
positional (a_name: ABSTRACT_STRING, a_usage: ABSTRACT_STRING)
effective procedure
parent: CLARG_PARSER
writable attribute
detailed: BOOLEAN
writable attribute
argument_count: INTEGER_32
effective function
Number of arguments given to command that started system execution (command name does not count).
argument (i: INTEGER_32): STRING
effective function
i th argument of command that started system execution Gives the command name if i is 0.
command_name: STRING
effective function
command_arguments: FAST_ARRAY[STRING]
frozen
once function
Give access to arguments command line including the command name at index 0.
se_argc: INTEGER_32
To implement command_arguments
se_argv (i: INTEGER_32): STRING
To implement command_arguments
short: FIXED_STRING
writable attribute
writable attribute
short_pattern: REGULAR_EXPRESSION
once function
long_pattern: REGULAR_EXPRESSION
once function
long_equal_pattern: REGULAR_EXPRESSION
once function
is_short (arg: STRING, a_index: INTEGER_32): BOOLEAN
effective function
is_long (arg: STRING): BOOLEAN
effective function
is_long_equal (arg: STRING): BOOLEAN
effective function
put_short (stream: OUTPUT_STREAM)
effective procedure
put_long (stream: OUTPUT_STREAM)
effective procedure