Implement the hash pattern matching interface for MagicComment
.
Implement the hash pattern matching interface for ParseError
.
Implement the hash pattern matching interface for ParseWarning
.
Implement the hash pattern matching interface for ParseResult
.
Walk the tree and mark nodes that are on a new line.
Implement the hash pattern matching interface for Token
.
Visits each node in ‘nodes` by calling `accept` on each one.
GNU Readline
waits for “keyseq-timeout” milliseconds to see if the ESC is followed by a character, and times out and treats it as a standalone ESC if the second character does not arrive. If the second character comes before timed out, it is treated as a modifier key with the meta-property of meta-key, so that it can be distinguished from multibyte characters with the 8th bit turned on.
GNU Readline
will wait for the 2nd character with “keyseq-timeout” milli-seconds but wait forever after 3rd characters.
ed-insert
(vi input: almost all; emacs: printable characters) In insert mode, insert the input character left of the cursor position. In replace mode, overwrite the character at the cursor and move the cursor to the right by one character position. Accept an argument to do this repeatedly. It is an error if the input character is the NUL character (Ctrl-@
). Failure to enlarge the edit buffer also results in an error.
ed-digit
(emacs: 0 to 9) If in argument input mode, append the input digit to the argument being read. Otherwise, call ed-insert
. It is an error if the input character is not a digit or if the existing argument is already greater than a million.
Readline
self-insert
(a, b, A, 1, !, …) Insert yourself.