Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(cmd_t), | public | :: | all_cmds(NUM_CMD) | ||||
type(flag_t), | public | :: | all_flags(NUM_FLAGS) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(arg_t), | public | :: | arg_info | ||||
type(cmd_t), | public | :: | cmd | ||||
integer, | public | :: | flag_idx(NUM_FLAGS) | ||||
logical, | public | :: | flags(NUM_FLAGS) | ||||
type(pattern_t), | public, | allocatable | :: | patterns(:) | |||
type(cmd_t), | public | :: | sub_cmd | ||||
type(cmd_t), | public | :: | sub_sub_cmd |
procedure, public :: collect_flags => cla__collect_flags | |
procedure, public :: do_debug => cla__do_debug_subc | |
procedure, public :: do_find => cla__do_find_subc | |
procedure, public :: get_patterns => cla__get_patterns | |
procedure, public :: init => cla__initialize | |
procedure, public :: init_debug => cla__init_debug_subc | |
procedure, public :: init_find => cla__init_find_subc | |
procedure, public :: init_find_match => cla__init_find_match_subsubc | |
procedure, public :: read_cmd => cla__read_command | |
procedure, public :: read_subc => cla__read_subcommand | |
procedure, public :: read_subsubc => cla__read_sub_subcommand |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Processes the debug
command, reads a subcommand, and calls the corresponding procedure.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Processes the debug
command, reads a subcommand and a sub-subcommand,
and calls the corresponding procedure.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla | |||
integer, | intent(in) | :: | offset |
Prepare subcommands for the debug
command.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Prepare sub-subcommands for the match
subcommand.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Prepare subcommands for the find
command.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Read the first argument and match it with registered commands.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Read the third argument and match it with registered sub-subcommands.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
Read the second argument and match it with registered subcommands.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cla_t), | intent(inout) | :: | cla |
This subroutine registers all the flags forgex-cli accepts for the flag_t
type array all_flags
.