Package dns :: Module tokenizer |
[hide private]
[frames] | no frames]

# Module tokenizer

source code

Tokenize DNS master file format

Classes | [hide private]
| UngetBufferFull Raised when an attempt is made to unget a token when the unget buffer is full.
| Token A DNS master file format token.
| Tokenizer A DNS master file format tokenizer.

Variables | [hide private]
| _DELIMITERS = ``{``'``\t``'``:` True`,` `'``\n``'``:` True`,` `'``` `'``:` True`,` `'``"``'``:` True`,` `'``...``
| _QUOTING_DELIMITERS = ``{``'``"``'``:` True`}``
| EOF = `0`
| EOL = `1`
| WHITESPACE = `2`
| IDENTIFIER = `3`
| QUOTED_STRING = `4`
| COMMENT = `5`
| DELIMITER = `6`
| __package__ = ``'``dns``'``

Variables Details | [hide private]

  ### _DELIMITERS Value:
      {'\t': True,
       '''
      ''': True,
       ' ': True,
       '"': True,
       '(': True,
       ')': True,
       ';': True}