Lines Matching refs:scope

191     Template slice for token scope key, if any.
478 scope: typing.Any,
486 Extract property value from scope hierarchy.
488 :param scope: uppermost scope (corresponding to key ``'.'``)
489 :param scopes: parent scope sequence
493 :return: value from scope or default
505 return scope
509 for ref in (*scopes, scope)[::-1]:
547 scope: typing.Any,
553 :param scope: current scope
567 return render(template, scope, **kwargs)
772 scope: typing.Any,
787 :param scope: root object used as root mustache scope
790 :param getter: callable will be used to pick variables from scope
826 # scope stack
854 closing_scope = scope
857 scope = scopes_pop()
865 scope=scope,
877 scopes_append(scope)
884 scope = next(siblings)
885 callback = callable(scope)
889 scope = scopes_pop()
892 scope = scopes_pop()
896 scopes_append(scope)
899 scope = getter(scope, scopes, decode(token_name), None)
901 scope in falsy_primitives
902 or isinstance(scope, TSequence) and not scope
913 isinstance(scope, TIterable)
914 and not isinstance(scope, TNonLooping)
917 siblings = iter(scope)
918 scope = next(siblings)
919 callback = callable(scope)
923 scope = None
928 callback = callable(scope)
936 scope=scope,
946 value = getter(scope, scopes, decode(token_name), missing)
966 scope: typing.Any,
981 :param scope: current rendering scope (data object)
984 :param getter: callable will be used to pick variables from scope
999 scope=scope,
1018 scope: typing.Any,
1033 :param scope: current rendering scope (data object)
1036 :param getter: callable will be used to pick variables from scope
1051 scope=scope,