Package DNS :: Module tokenizer
[show private | hide private]
[frames | no frames]

Module DNS.tokenizer

Tokenize DNS master file format
Classes
Tokenizer A DNS master file format tokenizer.

Exceptions
UnexpectedEnd Raised if input ends unexpectedly.

Variable Summary
int COMMENT
int DELIMITER
int EOF
int EOL
int IDENTIFIER
int QUOTED_STRING
int WHITESPACE
dict _DELIMITERS
dict _QUOTING_DELIMITERS

Variable Details

COMMENT

Type:
int
Value:
5                                                                      

DELIMITER

Type:
int
Value:
6                                                                      

EOF

Type:
int
Value:
0                                                                      

EOL

Type:
int
Value:
1                                                                      

IDENTIFIER

Type:
int
Value:
3                                                                      

QUOTED_STRING

Type:
int
Value:
4                                                                      

WHITESPACE

Type:
int
Value:
2                                                                      

_DELIMITERS

Type:
dict
Value:
{' ': True, ')': True, '\t': True, '(': True, ';': True, '\n': True, '\
"': True}                                                              

_QUOTING_DELIMITERS

Type:
dict
Value:
{'"': True}                                                            

Generated by Epydoc 1.1 on Tue Jun 17 03:55:15 2003 http://epydoc.sf.net