MediaWiki  REL1_22
cssjanus.py File Reference

Go to the source code of this file.

Classes

class  cssjanus.Tokenizer

Functions

def cssjanus.CalculateNewBackgroundPosition
def cssjanus.CalculateNewBackgroundPositionX
def cssjanus.ChangeLeftToRightToLeft
def cssjanus.FixBackgroundPosition
def cssjanus.FixBodyDirectionLtrAndRtl
def cssjanus.FixCursorProperties
def cssjanus.FixFourPartNotation
def cssjanus.FixLeftAndRight
def cssjanus.FixLeftAndRightInUrl
def cssjanus.FixLtrAndRtlInUrl
def cssjanus.main
def cssjanus.setflags
def cssjanus.usage

Variables

string cssjanus::__author__ = '[email protected] (Lindsey Simon)'
string cssjanus.__version__ = '0.1'
tuple cssjanus.BG_HORIZONTAL_PERCENTAGE_RE
tuple cssjanus.BG_HORIZONTAL_PERCENTAGE_X_RE
tuple cssjanus.BODY_DIRECTION_LTR_RE
tuple cssjanus.BODY_DIRECTION_RTL_RE
string cssjanus.BODY_SELECTOR = r'body%s{%s'
string cssjanus.CHARS_WITHIN_SELECTOR = r'[^\}]*?'
string cssjanus.COLOR = r'(%s|%s)'
string cssjanus.COLOR_SPACE = r'%s%s'
tuple cssjanus.COMMENT_RE = re.compile('(%s)' % csslex.COMMENT, re.I)
tuple cssjanus.CURSOR_EAST_RE = re.compile(LOOKBEHIND_NOT_LETTER + '([ns]?)e-resize')
tuple cssjanus.CURSOR_WEST_RE = re.compile(LOOKBEHIND_NOT_LETTER + '([ns]?)w-resize')
tuple cssjanus.DIRECTION_LTR_RE = re.compile(r'%s(ltr)' % DIRECTION_RE)
string cssjanus.DIRECTION_RE = r'direction%s:%s'
tuple cssjanus.DIRECTION_RTL_RE = re.compile(r'%s(rtl)' % DIRECTION_RE)
dictionary cssjanus.FLAGS
tuple cssjanus.FOUR_NOTATION_COLOR_RE
tuple cssjanus.FOUR_NOTATION_QUANTITY_RE
string cssjanus.LEFT = 'left'
tuple cssjanus.LEFT_IN_URL_RE
tuple cssjanus.LEFT_RE
string cssjanus.LOOKAHEAD_FOR_CLOSING_PAREN = r'(?=%s?%s\))'
string cssjanus.LOOKAHEAD_NOT_CLOSING_PAREN = r'(?!%s?%s\))'
tuple cssjanus.LOOKAHEAD_NOT_OPEN_BRACE
string cssjanus.LOOKBEHIND_NOT_LETTER = r'(?<![a-zA-Z])'
string cssjanus.LTR = 'ltr'
tuple cssjanus.LTR_IN_URL_RE
string cssjanus.NOFLIP_ANNOTATION = r'/\*%s%s%s\*/'
tuple cssjanus.NOFLIP_CLASS_RE
tuple cssjanus.NOFLIP_SINGLE_RE
string cssjanus.NOFLIP_TOKEN = r'\@noflip'
string cssjanus.POSSIBLY_NEGATIVE_QUANTITY = r'((?:-?%s)|(?:inherit|auto))'
string cssjanus.POSSIBLY_NEGATIVE_QUANTITY_SPACE = r'%s%s%s'
string cssjanus.RIGHT = 'right'
tuple cssjanus.RIGHT_IN_URL_RE
tuple cssjanus.RIGHT_RE
string cssjanus.RTL = 'rtl'
tuple cssjanus.RTL_IN_URL_RE
 cssjanus.SWAP_LEFT_RIGHT_IN_URL_DEFAULT = False
 cssjanus.SWAP_LTR_RTL_IN_URL_DEFAULT = False
string cssjanus.TMP_TOKEN = '%sTMP%s'
string cssjanus.TOKEN_DELIMITER = '~'
string cssjanus.TOKEN_LINES = '%sJ%s'
string cssjanus.VALID_AFTER_URI_CHARS = r'[\'\"]?%s'