Table of Contents

Printable Characters

Printable characters are intended to be displayed to the user, and they appear in the input stream outside of any control sequences. Since the same characters can also appear inside control sequences, an input stream with embedded ANSI control sequences does not represent a strictly context-free grammar.

AnsiPrintableChar

AnsiPrintableChar elements represent a single printable character. Using an extended Backus-Naur form (EBNF), such a character in the input stream can be described as follows:

<printable-char> ::= 0x20...0x7f | 0xa0...0xffff

AnsiPrintableChar elements implement the IAnsiStreamParserElement interface and are produced by instances of AnsiStreamParser.

AnsiPrintableString

AnsiPrintableString elements represent a sequence of one or more printable characters in the input, uninterrupted by any control sequences. Using an extended Backus-Naur form (EBNF), they can be described as follows:

<printable-string> ::= <printable-char>+
<printable-char> ::= 0x20...0x7f | 0xa0...0xffff

AnsiPrintableString elements implement the IAnsiStringParserElement interface and are produced by instances of AnsiStringParser.