OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:spaceCharacters
(Results
1 - 9
of
9
) sorted by null
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
test_whitespace_filter.py
6
from html5lib.constants import
spaceCharacters
7
spaceCharacters
= "".join(
spaceCharacters
)
32
{"type": "
SpaceCharacters
", "data": " "},
34
{"type": "
SpaceCharacters
", "data": " "},
45
{"type": "
SpaceCharacters
", "data":
spaceCharacters
},
49
{"type": "
SpaceCharacters
", "data": " "},
56
{"type": "Characters", "data":
spaceCharacters
+ "foo"},
66
{"type": "
SpaceCharacters
", "data": spaceCharacters}
[
all
...]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/
whitespace.py
6
from ..constants import rcdataElements,
spaceCharacters
7
spaceCharacters
= "".join(
spaceCharacters
)
9
SPACES_REGEX = re.compile("[%s]+" %
spaceCharacters
)
27
elif not preserve and type == "
SpaceCharacters
" and token["data"]:
lint.py
6
from ..constants import
spaceCharacters
7
spaceCharacters
= "".join(
spaceCharacters
)
65
elif type in ("Characters", "
SpaceCharacters
"):
71
if type == "
SpaceCharacters
":
72
data = data.strip(
spaceCharacters
)
74
raise LintError("Non-space character(s) found in
SpaceCharacters
token: %(token)r" % {"token": data})
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
_base.py
17
from ..constants import voidElements,
spaceCharacters
18
spaceCharacters
= "".join(
spaceCharacters
)
91
middle = data.lstrip(
spaceCharacters
)
94
yield {"type": "
SpaceCharacters
", "data": left}
96
middle = data.rstrip(
spaceCharacters
)
101
yield {"type": "
SpaceCharacters
", "data": right}
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
tokenizer.py
10
from .constants import
spaceCharacters
150
if (charStack[0] in
spaceCharacters
or charStack[0] in (EOF, "<", "&")
219
if output in
spaceCharacters
:
220
tokenType = "
SpaceCharacters
"
265
elif data in
spaceCharacters
:
267
# state". At that point
spaceCharacters
are important so they are
269
self.tokenQueue.append({"type": tokenTypes["
SpaceCharacters
"], "data":
270
data + self.stream.charsUntil(
spaceCharacters
, True)})
299
elif data in
spaceCharacters
:
301
# state". At that point
spaceCharacters
are important so they ar
[
all
...]
constants.py
452
spaceCharacters
= frozenset([
[
all
...]
inputstream.py
8
from .constants import EOF,
spaceCharacters
, asciiLetters, asciiUppercase
26
spaceCharactersBytes = frozenset([item.encode("ascii") for item in
spaceCharacters
])
html5parser.py
14
from .constants import
spaceCharacters
, asciiUpper2Lower
159
SpaceCharactersToken = tokenTypes["
SpaceCharacters
"]
[
all
...]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/serializer/
htmlserializer.py
9
from ..constants import voidElements, booleanAttributes,
spaceCharacters
14
spaceCharacters
= "".join(
spaceCharacters
)
217
elif type in ("Characters", "
SpaceCharacters
"):
218
if type == "
SpaceCharacters
" or in_cdata:
247
spaceCharacters
+ ">\"'=", False)
Completed in 277 milliseconds