Home
last modified time | relevance | path

Searched refs:Markup (Results 1 - 25 of 53) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
H A DclassCannotExtendVar.js2 var Markup; variable
4 class Markup {
11 var Markup; variable
12 var Markup = /** @class */ (function () {
13 function Markup() {
15 return Markup;
/third_party/markupsafe/
H A D_native.py3 from . import Markup namespace
6 def escape(s: t.Any) -> Markup:
15 :return: A :class:`Markup` string with the escaped text.
18 return Markup(s.__html__())
20 return Markup(
30 def escape_silent(s: t.Optional[t.Any]) -> Markup:
36 Markup('None')
38 Markup('')
41 return Markup()
48 a :class:`Markup` strin
[all...]
H A D__init__.py19 def _simple_escaping_wrapper(func: "t.Callable[_P, str]") -> "t.Callable[_P, Markup]":
21 def wrapped(self: "Markup", *args: "_P.args", **kwargs: "_P.kwargs") -> "Markup":
29 class Markup(str): class
38 >>> Markup("Hello, <em>World</em>!")
39 Markup('Hello, <em>World</em>!')
40 >>> Markup(42)
41 Markup('42')
42 >>> Markup.escape("Hello, <em>World</em>!")
43 Markup('Hell
[all...]
H A D_speedups.c14 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
213 /* Convert to Markup object */ in escape()
268 ":return: A :class:`Markup` string with the escaped text.\n"
278 "Markup('None')\n"
280 "Markup('')\n"
287 " a :class:`Markup` string rather than converting it back to a basic"
292 "Markup('&lt;User 1&gt;')\n"
294 "Markup('&amp;lt;User 1&amp;gt;')\n"
296 "Markup('&lt;User 1&gt;')\n"
/third_party/node/deps/v8/third_party/markupsafe/
H A D_native.py11 from markupsafe import Markup namespace
22 return Markup(text_type(s)
36 return Markup()
H A D__init__.py6 Implements a Markup string.
16 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
23 class Markup(text_type): class
26 of frameworks and web applications use. :class:`Markup` is a direct
28 it escapes arguments passed and always returns `Markup`.
33 The constructor of the :class:`Markup` class can be used for three
39 >>> Markup("Hello <em>World</em>!")
40 Markup(u'Hello <em>World</em>!')
45 >>> Markup(Foo())
46 Markup(
[all...]
H A D_speedups.c49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
/third_party/node/tools/inspector_protocol/markupsafe/
H A D_native.py11 from markupsafe import Markup namespace
22 return Markup(text_type(s)
36 return Markup()
H A D__init__.py6 Implements a Markup string.
16 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
23 class Markup(text_type): class
26 of frameworks and web applications use. :class:`Markup` is a direct
28 it escapes arguments passed and always returns `Markup`.
33 The constructor of the :class:`Markup` class can be used for three
39 >>> Markup("Hello <em>World</em>!")
40 Markup(u'Hello <em>World</em>!')
45 >>> Markup(Foo())
46 Markup(
[all...]
H A D_speedups.c49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
/third_party/skia/third_party/externals/markupsafe/
H A D_native.py11 from markupsafe import Markup namespace
22 return Markup(text_type(s)
36 return Markup()
H A D__init__.py6 Implements a Markup string.
16 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
23 class Markup(text_type): class
26 of frameworks and web applications use. :class:`Markup` is a direct
28 it escapes arguments passed and always returns `Markup`.
33 The constructor of the :class:`Markup` class can be used for three
39 >>> Markup("Hello <em>World</em>!")
40 Markup(u'Hello <em>World</em>!')
45 >>> Markup(Foo())
46 Markup(
[all...]
H A D_speedups.c49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
/third_party/node/deps/v8/third_party/jinja2/
H A Dfilters.py12 from markupsafe import Markup namespace
240 rv = Markup(rv)
482 # if any of the items has. If yes we do a coercion to Markup
616 rv = Markup(rv)
645 if isinstance(s, Markup):
646 indention = Markup(indention)
647 newline = Markup(newline)
835 return Markup(text_type(value)).striptags()
1023 return Markup(value)
H A Dasyncsupport.py9 from markupsafe import Markup namespace
83 rv = Markup(rv)
100 rv = Markup(rv)
H A D__init__.py7 from markupsafe import Markup namespace
/third_party/skia/third_party/externals/jinja2/
H A Dfilters.py12 from markupsafe import Markup namespace
240 rv = Markup(rv)
482 # if any of the items has. If yes we do a coercion to Markup
616 rv = Markup(rv)
645 if isinstance(s, Markup):
646 indention = Markup(indention)
647 newline = Markup(newline)
835 return Markup(text_type(value)).striptags()
1023 return Markup(value)
H A Dasyncsupport.py9 from markupsafe import Markup namespace
83 rv = Markup(rv)
100 rv = Markup(rv)
/third_party/jinja2/
H A Dfilters.py12 from markupsafe import Markup namespace
136 def do_forceescape(value: "t.Union[str, HasHTML]") -> Markup:
301 rv = Markup(rv)
588 # if any of the items has. If yes we do a coercion to Markup
793 rv = Markup(rv)
823 if isinstance(s, Markup):
824 indention = Markup(indention)
825 newline = Markup(newline)
1029 return Markup(str(value)).striptags()
1346 def do_mark_safe(value: str) -> Markup
[all...]
H A Dasyncsupport.py9 from markupsafe import Markup namespace
83 rv = Markup(rv)
100 rv = Markup(rv)
H A Druntime.py9 from markupsafe import Markup namespace
49 "Markup",
82 return Markup("").join(chain(buf, iterator))
370 return Markup(rv)
382 return Markup(rv)
769 return Markup(rv)
780 rv = Markup(rv)
H A Dnodes.py10 from markupsafe import Markup namespace
617 return Markup(self.data)
1082 """Mark the wrapped expression as safe (wrap it as `Markup`)."""
1087 def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> Markup:
1089 return Markup(self.expr.as_const(eval_ctx))
1093 """Mark the wrapped expression as safe (wrap it as `Markup`) but
1104 ) -> t.Union[Markup, t.Any]:
1110 return Markup(expr)
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncsupport.py17 from jinja2.utils import concat, internalcode, Markup namespace
87 rv = Markup(rv)
104 rv = Markup(rv)
H A Dfilters.py18 from jinja2.utils import Markup, escape, pformat, urlize, soft_unicode, \
185 rv = Markup(rv)
408 # if any of the items has. If yes we do a coercion to Markup
532 rv = Markup(rv)
698 return Markup(text_type(value)).striptags()
887 return Markup(value)
19 unicode_urlencode, htmlsafe_json_dumps global() namespace
H A D__init__.py56 from jinja2.utils import Markup, escape, clear_caches, \
68 'ModuleLoader', 'environmentfilter', 'contextfilter', 'Markup', 'escape',
58 is_undefined, select_autoescape global() namespace

Completed in 18 milliseconds

123