Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Variables
pip._vendor.html5lib.constants Namespace Reference

Classes

class  DataLossWarning
 
class  ReparseException
 

Variables

 _ = gettext.gettext
 
 EOF = None
 
dictionary E
 
dictionary namespaces
 
tuple scopingElements
 
tuple formattingElements
 
tuple specialElements
 
tuple htmlIntegrationPointElements
 
tuple mathmlTextIntegrationPointElements
 
dictionary adjustForeignAttributes
 
tuple unadjustForeignAttributes
 
tuple spaceCharacters
 
tuple tableInsertModeElements
 
tuple asciiLowercase = frozenset(string.ascii_lowercase)
 
tuple asciiUppercase = frozenset(string.ascii_uppercase)
 
tuple asciiLetters = frozenset(string.ascii_letters)
 
tuple digits = frozenset(string.digits)
 
tuple hexDigits = frozenset(string.hexdigits)
 
tuple asciiUpper2Lower
 
tuple headingElements
 
tuple voidElements
 
tuple cdataElements = frozenset(('title', 'textarea'))
 
tuple rcdataElements
 
dictionary booleanAttributes
 
tuple entitiesWindows1252
 
tuple xmlEntities = frozenset(('lt;', 'gt;', 'amp;', 'apos;', 'quot;'))
 
dictionary entities
 
dictionary replacementCharacters
 
dictionary encodings
 
dictionary tokenTypes
 
tuple tagTokenTypes
 
tuple prefixes = dict([(v, k) for k, v in namespaces.items()])
 

Variable Documentation

pip._vendor.html5lib.constants._ = gettext.gettext
dictionary pip._vendor.html5lib.constants.adjustForeignAttributes
Initial value:
1 = {
2  "xlink:actuate": ("xlink", "actuate", namespaces["xlink"]),
3  "xlink:arcrole": ("xlink", "arcrole", namespaces["xlink"]),
4  "xlink:href": ("xlink", "href", namespaces["xlink"]),
5  "xlink:role": ("xlink", "role", namespaces["xlink"]),
6  "xlink:show": ("xlink", "show", namespaces["xlink"]),
7  "xlink:title": ("xlink", "title", namespaces["xlink"]),
8  "xlink:type": ("xlink", "type", namespaces["xlink"]),
9  "xml:base": ("xml", "base", namespaces["xml"]),
10  "xml:lang": ("xml", "lang", namespaces["xml"]),
11  "xml:space": ("xml", "space", namespaces["xml"]),
12  "xmlns": (None, "xmlns", namespaces["xmlns"]),
13  "xmlns:xlink": ("xmlns", "xlink", namespaces["xmlns"])
14 }
tuple pip._vendor.html5lib.constants.asciiLetters = frozenset(string.ascii_letters)
tuple pip._vendor.html5lib.constants.asciiLowercase = frozenset(string.ascii_lowercase)
tuple pip._vendor.html5lib.constants.asciiUpper2Lower
Initial value:
1 = dict([(ord(c), ord(c.lower()))
2  for c in string.ascii_uppercase])
tuple pip._vendor.html5lib.constants.asciiUppercase = frozenset(string.ascii_uppercase)
dictionary pip._vendor.html5lib.constants.booleanAttributes
Initial value:
1 = {
2  "": frozenset(("irrelevant",)),
3  "style": frozenset(("scoped",)),
4  "img": frozenset(("ismap",)),
5  "audio": frozenset(("autoplay", "controls")),
6  "video": frozenset(("autoplay", "controls")),
7  "script": frozenset(("defer", "async")),
8  "details": frozenset(("open",)),
9  "datagrid": frozenset(("multiple", "disabled")),
10  "command": frozenset(("hidden", "disabled", "checked", "default")),
11  "hr": frozenset(("noshade")),
12  "menu": frozenset(("autosubmit",)),
13  "fieldset": frozenset(("disabled", "readonly")),
14  "option": frozenset(("disabled", "readonly", "selected")),
15  "optgroup": frozenset(("disabled", "readonly")),
16  "button": frozenset(("disabled", "autofocus")),
17  "input": frozenset(("disabled", "readonly", "required", "autofocus", "checked", "ismap")),
18  "select": frozenset(("disabled", "readonly", "autofocus", "multiple")),
19  "output": frozenset(("disabled", "readonly")),
20 }
tuple pip._vendor.html5lib.constants.cdataElements = frozenset(('title', 'textarea'))
tuple pip._vendor.html5lib.constants.digits = frozenset(string.digits)
dictionary pip._vendor.html5lib.constants.E
dictionary pip._vendor.html5lib.constants.encodings
dictionary pip._vendor.html5lib.constants.entities
tuple pip._vendor.html5lib.constants.entitiesWindows1252
pip._vendor.html5lib.constants.EOF = None
tuple pip._vendor.html5lib.constants.formattingElements
Initial value:
1 = frozenset((
2  (namespaces["html"], "a"),
3  (namespaces["html"], "b"),
4  (namespaces["html"], "big"),
5  (namespaces["html"], "code"),
6  (namespaces["html"], "em"),
7  (namespaces["html"], "font"),
8  (namespaces["html"], "i"),
9  (namespaces["html"], "nobr"),
10  (namespaces["html"], "s"),
11  (namespaces["html"], "small"),
12  (namespaces["html"], "strike"),
13  (namespaces["html"], "strong"),
14  (namespaces["html"], "tt"),
15  (namespaces["html"], "u")
16 ))
tuple pip._vendor.html5lib.constants.headingElements
Initial value:
1 = (
2  "h1",
3  "h2",
4  "h3",
5  "h4",
6  "h5",
7  "h6"
8 )
tuple pip._vendor.html5lib.constants.hexDigits = frozenset(string.hexdigits)
tuple pip._vendor.html5lib.constants.htmlIntegrationPointElements
Initial value:
1 = frozenset((
2  (namespaces["mathml"], "annotaion-xml"),
3  (namespaces["svg"], "foreignObject"),
4  (namespaces["svg"], "desc"),
5  (namespaces["svg"], "title")
6 ))
tuple pip._vendor.html5lib.constants.mathmlTextIntegrationPointElements
Initial value:
1 = frozenset((
2  (namespaces["mathml"], "mi"),
3  (namespaces["mathml"], "mo"),
4  (namespaces["mathml"], "mn"),
5  (namespaces["mathml"], "ms"),
6  (namespaces["mathml"], "mtext")
7 ))
dictionary pip._vendor.html5lib.constants.namespaces
Initial value:
1 = {
2  "html": "http://www.w3.org/1999/xhtml",
3  "mathml": "http://www.w3.org/1998/Math/MathML",
4  "svg": "http://www.w3.org/2000/svg",
5  "xlink": "http://www.w3.org/1999/xlink",
6  "xml": "http://www.w3.org/XML/1998/namespace",
7  "xmlns": "http://www.w3.org/2000/xmlns/"
8 }
tuple pip._vendor.html5lib.constants.prefixes = dict([(v, k) for k, v in namespaces.items()])
tuple pip._vendor.html5lib.constants.rcdataElements
Initial value:
1 = frozenset((
2  'style',
3  'script',
4  'xmp',
5  'iframe',
6  'noembed',
7  'noframes',
8  'noscript'
9 ))
dictionary pip._vendor.html5lib.constants.replacementCharacters
tuple pip._vendor.html5lib.constants.scopingElements
Initial value:
1 = frozenset((
2  (namespaces["html"], "applet"),
3  (namespaces["html"], "caption"),
4  (namespaces["html"], "html"),
5  (namespaces["html"], "marquee"),
6  (namespaces["html"], "object"),
7  (namespaces["html"], "table"),
8  (namespaces["html"], "td"),
9  (namespaces["html"], "th"),
10  (namespaces["mathml"], "mi"),
11  (namespaces["mathml"], "mo"),
12  (namespaces["mathml"], "mn"),
13  (namespaces["mathml"], "ms"),
14  (namespaces["mathml"], "mtext"),
15  (namespaces["mathml"], "annotation-xml"),
16  (namespaces["svg"], "foreignObject"),
17  (namespaces["svg"], "desc"),
18  (namespaces["svg"], "title"),
19 ))
tuple pip._vendor.html5lib.constants.spaceCharacters
Initial value:
1 = frozenset((
2  "\t",
3  "\n",
4  "\u000C",
5  " ",
6  "\r"
7 ))
tuple pip._vendor.html5lib.constants.specialElements
tuple pip._vendor.html5lib.constants.tableInsertModeElements
Initial value:
1 = frozenset((
2  "table",
3  "tbody",
4  "tfoot",
5  "thead",
6  "tr"
7 ))
tuple pip._vendor.html5lib.constants.tagTokenTypes
Initial value:
1 = frozenset((tokenTypes["StartTag"], tokenTypes["EndTag"],
2  tokenTypes["EmptyTag"]))
dictionary pip._vendor.html5lib.constants.tokenTypes
Initial value:
1 = {
2  "Doctype": 0,
3  "Characters": 1,
4  "SpaceCharacters": 2,
5  "StartTag": 3,
6  "EndTag": 4,
7  "EmptyTag": 5,
8  "Comment": 6,
9  "ParseError": 7
10 }
tuple pip._vendor.html5lib.constants.unadjustForeignAttributes
Initial value:
1 = dict([((ns, local), qname) for qname, (prefix, local, ns) in
2  adjustForeignAttributes.items()])
tuple pip._vendor.html5lib.constants.voidElements
Initial value:
1 = frozenset((
2  "base",
3  "command",
4  "event-source",
5  "link",
6  "meta",
7  "hr",
8  "br",
9  "img",
10  "embed",
11  "param",
12  "area",
13  "col",
14  "input",
15  "source",
16  "track"
17 ))
tuple pip._vendor.html5lib.constants.xmlEntities = frozenset(('lt;', 'gt;', 'amp;', 'apos;', 'quot;'))

Copyright 2014 Google Inc. All rights reserved.