protocol
Character protocol.
Paulo Moura
1.2
2011/2/19
static
(no dependencies on other files)
True if the argument is an ASCII character.
static
is_ascii(Char)
is_ascii(+char) – zero_or_one
True if the argument is an alphanumeric character.
static
is_alphanumeric(Char)
is_alphanumeric(+char) – zero_or_one
True if the argument is a letter or an underscore.
static
is_alpha(Char)
is_alpha(+char) – zero_or_one
True if the argument is a letter.
static
is_letter(Char)
is_letter(+char) – zero_or_one
True if the argument is a binary digit.
static
is_bin_digit(Char)
is_bin_digit(+char) – zero_or_one
True if the argument is an octal digit.
static
is_octal_digit(Char)
is_octal_digit(+char) – zero_or_one
True if the argument is a decimal digit.
static
is_dec_digit(Char)
is_dec_digit(+char) – zero_or_one
True if the argument is an hexadecimal digit.
static
is_hex_digit(Char)
is_hex_digit(+char) – zero_or_one
True if the argument is a lower case letter.
static
is_lower_case(Char)
is_lower_case(+char) – zero_or_one
True if the argument is a upper case letter.
static
is_upper_case(Char)
is_upper_case(+char) – zero_or_one
True if the argument is a vowel.
static
is_vowel(Char)
is_vowel(+char) – zero_or_one
True if the argument is a white space character (a space or a tab) inside a line of characters.
static
is_white_space(Char)
is_white_space(+char) – zero_or_one
True if the argument is a layout character.
static
is_layout(Char)
is_layout(+char) – zero_or_one
True if the argument is a quote character.
static
is_quote(Char)
is_quote(+char) – zero_or_one
True if the argument is a sentence punctation character.
static
is_punctation(Char)
is_punctation(+char) – zero_or_one
True if the argument is a character that ends a sentence.
static
is_period(Char)
is_period(+char) – zero_or_one
True if the argument is an ASCII control character.
static
is_control(Char)
is_control(+char) – zero_or_one
True if the argument is the ASCII newline character.
static
is_newline(Char)
is_newline(+char) – zero_or_one
True if the argument is the ASCII end-of-line character (either a carriage return or a line feed).
static
is_end_of_line(Char)
is_end_of_line(+char) – zero_or_one
Recognises and converts between open and close parenthesis.
static
parenthesis(Char1,Char2)
parenthesis(?char,?char) – zero_or_more
parenthesis(+char,?char) – zero_or_one
parenthesis(?char,+char) – zero_or_one
Recognises and converts between lower and upper case letters.
static
lower_upper(Char1,Char2)
lower_upper(?char,?char) – zero_or_more
lower_upper(+char,?char) – zero_or_one
lower_upper(?char,+char) – zero_or_one
(none)
(none)