Package cssutils :: Module cssproductions
[hide private]
[frames] | no frames]

Module cssproductions

source code

productions for cssutils based on a mix of CSS 2.1 and CSS 3 Syntax productions

open issues



Version: $LastChangedRevision: 300 $

Date: $LastChangedDate: 2007-09-01 15:55:42 +0200 (Sa, 01 Sep 2007) $

Author: $LastChangedBy: cthedot $

Classes [hide private]
  CSSProductions
most attributes are set later
Variables [hide private]
  RE_UNICODE = '\\\\[0-9a-fA-F]{1,6}[\\t|\\r|\\n|\\f|\\x20]?'
  MACROS = {'A': 'A|a|\\\\0{0,4}(?:41|61)(?:\\r\\n|[ \\t\\r\\n\\...
  PRODUCTIONS = [('BOM', '\\xFEFF'), ('URI', '{U}{R}{L}\\({w}({s...
  i = 27
  t = ('CHAR', '[^"\\\']')
Variables Details [hide private]

MACROS

Value:
{'A': 'A|a|\\\\0{0,4}(?:41|61)(?:\\r\\n|[ \\t\\r\\n\\f])?',
 'C': 'C|c|\\\\0{0,4}(?:43|63)(?:\\r\\n|[ \\t\\r\\n\\f])?',
 'D': 'D|d|\\\\0{0,4}(?:44|64)(?:\\r\\n|[ \\t\\r\\n\\f])?',
 'E': 'E|e|\\\\0{0,4}(?:45|65)(?:\\r\\n|[ \\t\\r\\n\\f])?',
 'F': 'F|f|\\\\0{0,4}(?:46|66)(?:\\r\\n|[ \\t\\r\\n\\f])?',
 'G': 'G|g|\\\\0{0,4}(?:47|67)(?:\\r\\n|[ \\t\\r\\n\\f])?|\\\\G|\\\\g'\
,
 'H': 'H|h|\\\\0{0,4}(?:48|68)(?:\\r\\n|[ \\t\\r\\n\\f])?|\\\\H|\\\\h'\
...

PRODUCTIONS

Value:
[('BOM', '\\xFEFF'),
 ('URI', '{U}{R}{L}\\({w}({string}|{urlchar}*){w}\\)'),
 ('FUNCTION', '{ident}\\('),
 ('IMPORT_SYM', '@{I}{M}{P}{O}{R}{T}'),
 ('PAGE_SYM', '@{P}{A}{G}{E}'),
 ('MEDIA_SYM', '@{M}{E}{D}{I}{A}'),
 ('FONT_FACE_SYM', '@{F}{O}{N}{T}\\\\?\\-{F}{A}{C}{E}'),
 ('CHARSET_SYM', '@charset '),
...