/third_party/markupsafe/ |
H A D | __init__.py | 10 def __html__(self) -> str: member in HasHTML 45 This implements the ``__html__()`` interface that some frameworks 46 use. Passing an object that implements ``__html__()`` will wrap the 50 ... def __html__(self): 70 if hasattr(base, "__html__"): 71 base = base.__html__() 78 def __html__(self) -> "te.Self": member in Markup 82 if isinstance(other, str) or hasattr(other, "__html__"): 88 if isinstance(other, str) or hasattr(other, "__html__"): 270 elif hasattr(value, "__html__") [all...] |
H A D | _native.py | 11 If the object has an ``__html__`` method, it is called and the 17 if hasattr(s, "__html__"): 18 return Markup(s.__html__())
|
H A D | _speedups.c | 193 id_html = PyUnicode_InternFromString("__html__"); in escape() 205 /* if the object has an __html__ method that performs the escaping */ in escape() 265 "If the object has an ``__html__`` method, it is called and the"
|
/third_party/node/deps/v8/third_party/markupsafe/ |
H A D | _native.py | 20 if hasattr(s, '__html__'): 21 return s.__html__()
|
H A D | _speedups.c | 131 /* if the object has an __html__ method that performs the escaping */ in escape() 132 html = PyObject_GetAttrString(text, "__html__"); in escape()
|
H A D | __init__.py | 25 needing to be escaped. This implements the `__html__` interface a couple 35 when passed an object with an HTML representation (has an `__html__` 42 ... def __html__(self): 69 if hasattr(base, '__html__'): 70 base = base.__html__() 75 def __html__(self): member in Markup 79 if isinstance(other, string_types) or hasattr(other, '__html__'): 84 if hasattr(other, '__html__') or isinstance(other, string_types): 206 if hasattr(value, '__html__') or isinstance(value, string_types):
|
/third_party/node/tools/inspector_protocol/markupsafe/ |
H A D | _native.py | 20 if hasattr(s, '__html__'): 21 return s.__html__()
|
H A D | _speedups.c | 131 /* if the object has an __html__ method that performs the escaping */ in escape() 132 html = PyObject_GetAttrString(text, "__html__"); in escape()
|
H A D | __init__.py | 25 needing to be escaped. This implements the `__html__` interface a couple 35 when passed an object with an HTML representation (has an `__html__` 42 ... def __html__(self): 69 if hasattr(base, '__html__'): 70 base = base.__html__() 75 def __html__(self): member in Markup 79 if isinstance(other, string_types) or hasattr(other, '__html__'): 84 if hasattr(other, '__html__') or isinstance(other, string_types): 206 if hasattr(value, '__html__') or isinstance(value, string_types):
|
/third_party/skia/third_party/externals/markupsafe/ |
H A D | _native.py | 20 if hasattr(s, '__html__'): 21 return s.__html__()
|
H A D | _speedups.c | 131 /* if the object has an __html__ method that performs the escaping */ in escape() 132 html = PyObject_GetAttrString(text, "__html__"); in escape()
|
H A D | __init__.py | 25 needing to be escaped. This implements the `__html__` interface a couple 35 when passed an object with an HTML representation (has an `__html__` 42 ... def __html__(self): 69 if hasattr(base, '__html__'): 70 base = base.__html__() 75 def __html__(self): member in Markup 79 if isinstance(other, string_types) or hasattr(other, '__html__'): 84 if hasattr(other, '__html__') or isinstance(other, string_types): 206 if hasattr(value, '__html__') or isinstance(value, string_types):
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | nativetypes.py | 91 if hasattr(const, '__html__'): 92 const = const.__html__()
|
H A D | filters.py | 89 if hasattr(value, '__html__'): 90 value = value.__html__() 135 if hasattr(old, '__html__') or hasattr(new, '__html__') and \ 136 not hasattr(s, '__html__'): 409 if not hasattr(d, '__html__'): 413 if hasattr(item, '__html__'): 696 if hasattr(value, '__html__'): 697 value = value.__html__()
|
H A D | environment.py | 1157 def __html__(self): member in TemplateModule
|
H A D | compiler.py | 1264 if hasattr(const, '__html__'): 1265 const = const.__html__()
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | filters.py | 132 if hasattr(value, "__html__"): 133 value = value.__html__() 188 hasattr(old, "__html__") 189 or hasattr(new, "__html__") 190 and not hasattr(s, "__html__") 483 if not hasattr(d, "__html__"): 487 if hasattr(item, "__html__"): 833 if hasattr(value, "__html__"): 834 value = value.__html__()
|
H A D | runtime.py | 68 if hasattr(arg, "__html__"): 936 def __html__(self): member in ChainableUndefined
|
H A D | environment.py | 1243 def __html__(self): member in TemplateModule
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | filters.py | 132 if hasattr(value, "__html__"): 133 value = value.__html__() 188 hasattr(old, "__html__") 189 or hasattr(new, "__html__") 190 and not hasattr(s, "__html__") 483 if not hasattr(d, "__html__"): 487 if hasattr(item, "__html__"): 833 if hasattr(value, "__html__"): 834 value = value.__html__()
|
H A D | runtime.py | 68 if hasattr(arg, "__html__"): 936 def __html__(self): member in ChainableUndefined
|
H A D | environment.py | 1243 def __html__(self): member in TemplateModule
|
/third_party/jinja2/ |
H A D | filters.py | 37 def __html__(self) -> str: member in HasHTML 138 if hasattr(value, "__html__"): 139 value = t.cast("HasHTML", value).__html__() 200 hasattr(old, "__html__") 201 or hasattr(new, "__html__") 202 and not hasattr(s, "__html__") 589 if not hasattr(d, "__html__"): 594 if hasattr(item, "__html__"): 1026 if hasattr(value, "__html__"): 1027 value = t.cast("HasHTML", value).__html__() [all...] |
H A D | runtime.py | 81 if hasattr(arg, "__html__"): 977 def __html__(self) -> str: member in ChainableUndefined
|
H A D | environment.py | 1541 def __html__(self) -> Markup: member in TemplateModule
|