expanded class COMMAND_LINE_CONTEXT
Summary
Internal command-line parsing context.
Direct parents
Insert list: COMPARABLE, HASHABLE
Class invariant
Overview
Features
{ANY}
{ANY}
{COMMAND_LINE_ARGUMENTS}
{COMMAND_LINE_ARGUMENT, CLARG_PARSER}
{ANY}
  • is_equal (other: COMMAND_LINE_CONTEXT): BOOLEAN
    Is other attached to an object considered equal to current object?
{ANY}
  • infix "<=" (other: COMMAND_LINE_CONTEXT): BOOLEAN
    Is Current less than or equal other?
  • infix ">" (other: COMMAND_LINE_CONTEXT): BOOLEAN
    Is Current strictly greater than other?
  • infix ">=" (other: COMMAND_LINE_CONTEXT): BOOLEAN
    Is Current greater than or equal than other?
  • in_range (lower: COMMAND_LINE_CONTEXT, upper: COMMAND_LINE_CONTEXT): BOOLEAN
    Return True if Current is in range [lower..upper]
    See also min, max, compare.
  • compare (other: COMMAND_LINE_CONTEXT): INTEGER_32
    If current object equal to other, 0 if smaller, -1; if greater, 1.
  • three_way_comparison (other: COMMAND_LINE_CONTEXT): INTEGER_32
    If current object equal to other, 0 if smaller, -1; if greater, 1.
  • min (other: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
    Minimum of Current and other.
  • max (other: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
    Maximum of Current and other.
  • bounded_by (a_min: COMMAND_LINE_CONTEXT, a_max: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
    A value that is equal to Current if it is between the limits set by a_min and a_max.
hash_code: INTEGER_32
effective function
{ANY}
The hash-code value of Current.
infix "<" (other: COMMAND_LINE_CONTEXT): BOOLEAN
effective function
{ANY}
Is Current strictly less than other?
index: INTEGER_32
writable attribute
{ANY}
set to the next argument to read
short_index: INTEGER_32
writable attribute
{ANY}
set to the next option parameter position when parsing a short parameters sequence
short_option_index: INTEGER_32
writable attribute
{ANY}
position of the short option in the short option sequence
is_parsed: BOOLEAN
effective function
{ANY}
True if the parsing may continue.
is_short: BOOLEAN
effective function
{ANY}
init
effective procedure
set_short (a_short_index: INTEGER_32, a_short_option_index: INTEGER_32)
effective procedure
set_index (a_index: INTEGER_32)
effective procedure
is_equal (other: COMMAND_LINE_CONTEXT): BOOLEAN
deferred function
{ANY}
Is other attached to an object considered equal to current object?
infix "<=" (other: COMMAND_LINE_CONTEXT): BOOLEAN
effective function
{ANY}
Is Current less than or equal other?
infix ">" (other: COMMAND_LINE_CONTEXT): BOOLEAN
effective function
{ANY}
Is Current strictly greater than other?
infix ">=" (other: COMMAND_LINE_CONTEXT): BOOLEAN
effective function
{ANY}
Is Current greater than or equal than other?
in_range (lower: COMMAND_LINE_CONTEXT, upper: COMMAND_LINE_CONTEXT): BOOLEAN
effective function
{ANY}
Return True if Current is in range [lower..upper]
See also min, max, compare.
compare (other: COMMAND_LINE_CONTEXT): INTEGER_32
effective function
{ANY}
If current object equal to other, 0 if smaller, -1; if greater, 1.
three_way_comparison (other: COMMAND_LINE_CONTEXT): INTEGER_32
effective function
{ANY}
If current object equal to other, 0 if smaller, -1; if greater, 1.
min (other: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
effective function
{ANY}
Minimum of Current and other.
max (other: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
effective function
{ANY}
Maximum of Current and other.
bounded_by (a_min: COMMAND_LINE_CONTEXT, a_max: COMMAND_LINE_CONTEXT): COMMAND_LINE_CONTEXT
effective function
{ANY}
A value that is equal to Current if it is between the limits set by a_min and a_max.