View Source megaco_digit_map (megaco v4.6)

Digit Map utility module.

This is a Digit Map utility module (types).

Summary

Types

$z | $Z | cancel

$0..$9 | $a..$k | $A..$K

$s | $S

$l | $L

Types

-type cancel() :: $z | $Z | cancel.

$z | $Z | cancel

-type event() :: letter() | pause() | cancel().
-type kind() :: full | unambiguous.
-type letter() :: $0..$9 | $a..$k | $A..$K.

$0..$9 | $a..$k | $A..$K

-type one_second() :: $s | $S.

$s | $S

-type pause() :: one_second() | ten_seconds().
-type ten_seconds() :: $l | $L.

$l | $L

-type value() ::
    #'DigitMapValue'{startTimer :: term(),
                     shortTimer :: term(),
                     longTimer :: term(),
                     digitMapBody :: term(),
                     durationTimer :: term()}.