Procedures

ProcedureLocationProcedure TypeDescription
cla__collect_flags forgex_cli_cla_m Subroutine
cla__do_debug_subc forgex_cli_cla_m Subroutine

Processes the debug command, reads a subcommand, and calls the corresponding procedure.

cla__do_find_subc forgex_cli_cla_m Subroutine

Processes the debug command, reads a subcommand and a sub-subcommand, and calls the corresponding procedure.

cla__get_patterns forgex_cli_cla_m Subroutine
cla__init_debug_subc forgex_cli_cla_m Subroutine

Prepare subcommands for the debug command.

cla__init_find_match_subsubc forgex_cli_cla_m Subroutine

Prepare sub-subcommands for the match subcommand.

cla__init_find_subc forgex_cli_cla_m Subroutine

Prepare subcommands for the find command.

cla__initialize forgex_cli_cla_m Subroutine
cla__read_command forgex_cli_cla_m Subroutine

Read the first argument and match it with registered commands.

cla__read_sub_subcommand forgex_cli_cla_m Subroutine

Read the third argument and match it with registered sub-subcommands.

cla__read_subcommand forgex_cli_cla_m Subroutine

Read the second argument and match it with registered subcommands.

cmd__get_name forgex_cli_type_m Function
cmd__set_name forgex_cli_type_m Subroutine
do_debug_ast forgex_cli_debug_m Subroutine
do_debug_thompson forgex_cli_debug_m Subroutine
do_find_match_dense_dfa forgex_cli_find_m Subroutine
do_find_match_forgex forgex_cli_find_m Subroutine
do_find_match_lazy_dfa forgex_cli_find_m Subroutine
do_matching_exactly_no_literal_opts forgex_cli_api_internal_no_opts_m Subroutine

This subroutine is intended to be called from the forgex_cli_find_m module.

do_matching_including_no_literal_opts forgex_cli_api_internal_no_opts_m Subroutine

This procedure reads a text, performs regular expression matching using an automaton, and stores the string index in the argument if it contains a match.

does_command_exist forgex_cli_utils_m Function
does_command_exist_type_cmd forgex_cli_utils_m Function
does_flag_exist forgex_cli_utils_m Function
generate_and_output forgex_cli_help_messages_m Subroutine
get_arg_command_line forgex_cli_utils_m Subroutine
get_flag_index forgex_cli_utils_m Function
get_lap_time_in_appropriate_unit forgex_cli_time_measurement_m Function

This function takes a real number of seconds, converts it to the appropriate units, and returns a string with the unit for output.

get_os_type forgex_cli_utils_m Function Read more…
info forgex_cli_utils_m Subroutine
init_commands forgex_cli_cla_m Subroutine
init_flags forgex_cli_cla_m Subroutine

This subroutine registers all the flags forgex-cli accepts for the flag_t type array all_flags.

is_arg_contained_in_flags forgex_cli_utils_m Function
mem_dfa_graph forgex_cli_memory_calculation_m Function
mem_nfa_graph forgex_cli_memory_calculation_m Function
mem_tape forgex_cli_memory_calculation_m Function
mem_tree forgex_cli_memory_calculation_m Function
operator(.in.) forgex_cli_utils_m Interface
print_help forgex_cli_help_messages_m Subroutine
print_help_debug forgex_cli_help_messages_m Subroutine
print_help_debug_ast forgex_cli_help_messages_m Subroutine
print_help_debug_thompson forgex_cli_help_messages_m Subroutine
print_help_find forgex_cli_help_messages_m Subroutine
print_help_find_match forgex_cli_help_messages_m Subroutine
print_help_find_match_dense_dfa forgex_cli_help_messages_m Subroutine
print_help_find_match_forgex_api forgex_cli_help_messages_m Subroutine
print_help_find_match_lazy_dfa forgex_cli_help_messages_m Subroutine
QueryPerformanceCounter forgex_cli_time_measurement_m Interface

For Windows, use high-resolution system call for timing.

QueryPerformanceFrequency forgex_cli_time_measurement_m Interface

For Windows, use high-resolution system call for timing.

register_cmd forgex_cli_utils_m Subroutine
register_flag forgex_cli_utils_m Subroutine
right_justify forgex_cli_utils_m Subroutine
runner_do_matching_exactly forgex_cli_find_m Subroutine
runner_do_matching_including forgex_cli_find_m Subroutine
text_highlight_green forgex_cli_utils_m Function
time_begin forgex_cli_time_measurement_m Subroutine

This subroutine is for timing purpose and starts a stopwatch.

time_lap forgex_cli_time_measurement_m Function

This function is for timing purposes and returns the lap time since the last call of time_begin or time_lap.