Home | History | Annotate | Download | only in webkitpy

Lines Matching full:none

109     if encoding is None:
118 def setup(self, parent=None, previous=None):
123 self.next = None
124 self.previousSibling = None
125 self.nextSibling = None
162 self.previous = None
163 lastChild.next = None
165 self.parent = None
170 self.previousSibling = self.nextSibling = None
187 if hasattr(newChild, 'parent') and newChild.parent != None:
201 previousChild = None
203 newChild.previousSibling = None
216 newChild.nextSibling = None
219 parentsNextSibling = None
228 newChildsLastElement.next = None
244 def findNext(self, name=None, attrs={}, text=None, **kwargs):
249 def findAllNext(self, name=None, attrs={}, text=None, limit=None,
256 def findNextSibling(self, name=None, attrs={}, text=None, **kwargs):
262 def findNextSiblings(self, name=None, attrs={}, text=None, limit=None,
270 def findPrevious(self, name=None, attrs={}, text=None, **kwargs):
275 def findAllPrevious(self, name=None, attrs={}, text=None, limit=None,
283 def findPreviousSibling(self, name=None, attrs={}, text=None, **kwargs):
289 def findPreviousSiblings(self, name=None, attrs={}, text=None,
290 limit=None, **kwargs):
297 def findParent(self, name=None, attrs={}, **kwargs):
302 r = None
308 def findParents(self, name=None, attrs={}, limit=None, **kwargs):
312 return self._findAll(name, attrs, None, limit, self.parentGenerator,
319 r = None
381 def substituteEncoding(self, str, encoding=None):
385 def toEncoding(self, s, encoding=None):
500 def __init__(self, parser, name, attrs=None, parent=None,
501 previous=None):
509 if attrs == None:
523 if val is None:
529 def get(self, key, default=None):
555 "A tag is non-None even if it has no contents."
641 its contents. To get Unicode, pass None for encoding."""
649 and eventualEncoding is not None
680 if val is None:
743 encoding. If encoding is None, returns a Unicode string.."""
746 text = None
763 def find(self, name=None, attrs={}, recursive=True, text=None,
767 r = None
774 def findAll(self, name=None, attrs={}, recursive=True, text=None,
775 limit=None, **kwargs):
795 def fetchText(self, text=None, recursive=True, limit=None):
798 def firstText(self, text=None, recursive=True):
804 if encoding is None:
845 def __init__(self, name=None, attrs={}, text=None, **kwargs):
849 attrs = None
865 def searchTag(self, markupName=None, markupAttrs={}):
866 found = None
867 markup = None
882 markupAttrMap = None
904 found = None
932 result = markup != None
940 if markup is not None and not isString(markup):
942 #Now we know that chunk is either a string, or None.
947 and (markup is not None or not isString(matchAgainst))):
1056 data = None
1102 j = None
1162 STRIP_ASCII_SPACES = { 9: None, 10: None, 12: None, 13: None, 32: None, }
1164 def __init__(self, markup="", parseOnlyThese=None, fromEncoding=None,
1166 convertEntities=None, selfClosingTags=None, isHTML=False,
1203 self.smartQuotesTo = None
1221 self.instanceSelfClosingTags = buildTagMap(None, selfClosingTags)
1233 self.markup = None # The markup can now be GCed.
1234 self.builder = None # So can the builder.
1236 def _feed(self, inDocumentEncoding=None, isHTML=False):
1241 self.originalEncoding = None
1280 self.currentTag = None
1339 mostRecentTag = None
1370 isNestable = nestingResetTriggers != None
1372 popTo = None
1381 if (nestingResetTriggers != None
1383 or (nestingResetTriggers == None and isResetNesting
1501 SELF_CLOSING_TAGS = buildTagMap(None,
1507 QUOTE_TAGS = {'script' : None, 'textarea' : None}
1542 RESET_NESTING_TAGS = buildTagMap(None, NESTABLE_BLOCK_TAGS, 'noscript',
1557 httpEquiv = None
1558 contentType = None
1559 contentTypeIndex = None
1574 if (self.declaredHTMLEncoding is not None or
1720 chardet = None
1749 self.declaredHTMLEncoding = None
1755 self.originalEncoding = None
1759 u = None
1779 if not u: self.originalEncoding = None
1798 return None
1819 return None
1850 xml_encoding = sniffed_xml_encoding = None
1897 xml_encoding_match = None
1904 if xml_encoding_match is not None:
1926 codec = None
1934 EBCDIC_TO_ASCII_MAP = None