Lines Matching refs:Any
20 F = t.TypeVar("F", bound=t.Callable[..., t.Any])
125 def is_internal_attribute(obj: t.Any, attr: str) -> bool:
162 def modifies_known_mutable(obj: t.Any, attr: str) -> bool:
203 default_binop_table: t.Dict[str, t.Callable[[t.Any, t.Any], t.Any]] = {
216 default_unop_table: t.Dict[str, t.Callable[[t.Any], t.Any]] = {
252 def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
258 def is_safe_attribute(self, obj: t.Any, attr: str, value: t.Any) -> bool:
267 def is_safe_callable(self, obj: t.Any) -> bool:
279 self, context: Context, operator: str, left: t.Any, right: t.Any
280 ) -> t.Any:
289 def call_unop(self, context: Context, operator: str, arg: t.Any) -> t.Any:
299 self, obj: t.Any, argument: t.Union[str, t.Any]
300 ) -> t.Union[t.Any, Undefined]:
321 def getattr(self, obj: t.Any, attribute: str) -> t.Union[t.Any, Undefined]:
338 def unsafe_undefined(self, obj: t.Any, attribute: str) -> Undefined:
351 args: t.Tuple[t.Any, ...],
352 kwargs: t.Dict[str, t.Any],
380 __obj: t.Any,
381 *args: t.Any,
382 **kwargs: t.Any,
383 ) -> t.Any:
402 def is_safe_attribute(self, obj: t.Any, attr: str, value: t.Any) -> bool:
410 def __init__(self, env: Environment, **kwargs: t.Any) -> None:
415 self, field_name: str, args: t.Sequence[t.Any], kwargs: t.Mapping[str, t.Any]
416 ) -> t.Tuple[t.Any, str]: