csslex Namespace Reference


Variables

list __author__
list __all__ = [ "NEWLINE", "HEX", "NON_ASCII", "UNICODE", "ESCAPE", "NMSTART", "NMCHAR", "STRING1", "STRING2", "IDENT", "NAME", "HASH", "NUM", "STRING", "URL", "SPACE", "WHITESPACE", "COMMENT", "QUANTITY", "PUNC" ]
string KEYWORD = r'(?:\@(?:import|page|media|charset))'
string NEWLINE = r'\n|\r\n|\r|\f'
string HEX = r'[0-9a-f]'
string NON_ASCII = r'[\200-\377]'
string UNICODE = r'(?:(?:\\'
string ESCAPE = r'(?:'
string NMSTART = r'(?:[_a-z]|'
string NMCHAR = r'(?:[_a-z0-9-]|'
string IDENT = r'-?'
string NAME = r'+'
string HASH = r'#'
string STRING1 = r'"(?:[^\"\\]|\\.)*"'
string STRING2 = r"'(?:[^\'\\]|\\.)*'"
string STRING = '(?:'
string NUM = r'(?:[0-9]*\.[0-9]+|[0-9]+)'
string SPACE = r'[ \t\r\n\f]'
string WHITESPACE = '(?:'
string URL_SPECIAL_CHARS = r'[!#$%&*-~]'
string URL_CHARS = r'(?:%s|%s|%s)*'
string URL = r'url\(%s(%s|%s)%s\)'
string COMMENT = r'/\*[^*]*\*+([^/*][^*]*\*+)*/'
string UNIT = r'(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)'
string QUANTITY = '%s(?:%s%s|%s)?'
string PUNC = r'<!--|-->|~=|\|=|[\{\+>,:;]'

Variable Documentation

list csslex::__all__ = [ "NEWLINE", "HEX", "NON_ASCII", "UNICODE", "ESCAPE", "NMSTART", "NMCHAR", "STRING1", "STRING2", "IDENT", "NAME", "HASH", "NUM", "STRING", "URL", "SPACE", "WHITESPACE", "COMMENT", "QUANTITY", "PUNC" ]

Definition at line 14 of file csslex.py.

Initial value:

['elsigh@google.com (Lindsey Simon)',
              'msamuel@google.com (Mike Samuel)']

Definition at line 10 of file csslex.py.

string csslex::COMMENT = r'/\*[^*]*\*+([^/*][^*]*\*+)*/'

Definition at line 83 of file csslex.py.

string csslex::ESCAPE = r'(?:'

Definition at line 37 of file csslex.py.

string csslex::HASH = r'#'

Definition at line 52 of file csslex.py.

string csslex::HEX = r'[0-9a-f]'

Definition at line 28 of file csslex.py.

string csslex::IDENT = r'-?'

Definition at line 46 of file csslex.py.

string csslex::KEYWORD = r'(?:\@(?:import|page|media|charset))'

Definition at line 22 of file csslex.py.

string csslex::NAME = r'+'

Definition at line 49 of file csslex.py.

string csslex::NEWLINE = r'\n|\r\n|\r|\f'

Definition at line 25 of file csslex.py.

string csslex::NMCHAR = r'(?:[_a-z0-9-]|'

Definition at line 43 of file csslex.py.

string csslex::NMSTART = r'(?:[_a-z]|'

Definition at line 40 of file csslex.py.

string csslex::NON_ASCII = r'[\200-\377]'

Definition at line 31 of file csslex.py.

string csslex::NUM = r'(?:[0-9]*\.[0-9]+|[0-9]+)'

Definition at line 64 of file csslex.py.

string csslex::PUNC = r'<!--|-->|~=|\|=|[\{\+>,:;]'

Definition at line 114 of file csslex.py.

string csslex::QUANTITY = '%s(?:%s%s|%s)?'

Definition at line 104 of file csslex.py.

string csslex::SPACE = r'[ \t\r\n\f]'

Definition at line 67 of file csslex.py.

string csslex::STRING = '(?:'

Definition at line 61 of file csslex.py.

Referenced by FormOptions::fetchValuesFromRequest(), and FormOptions::guessType().

string csslex::STRING1 = r'"(?:[^\"\\]|\\.)*"'

Definition at line 55 of file csslex.py.

string csslex::STRING2 = r"'(?:[^\'\\]|\\.)*'"

Definition at line 58 of file csslex.py.

string csslex::UNICODE = r'(?:(?:\\'

Definition at line 34 of file csslex.py.

string csslex::UNIT = r'(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)'

Definition at line 101 of file csslex.py.

string csslex::URL = r'url\(%s(%s|%s)%s\)'

string csslex::URL_CHARS = r'(?:%s|%s|%s)*'

Definition at line 76 of file csslex.py.

string csslex::URL_SPECIAL_CHARS = r'[!#$%&*-~]'

Definition at line 73 of file csslex.py.

string csslex::WHITESPACE = '(?:'

Definition at line 70 of file csslex.py.


Generated on Sat Apr 30 22:57:53 2011 for MediaWiki by  doxygen 1.5.9