Lines Matching refs:value

170         self._tag_stack.append(token.value)
173 if token.value in _statement_keywords:
174 f = getattr(self, f"parse_{self.stream.current.value}")
176 if token.value == "call":
178 if token.value == "filter":
180 ext = self.extensions.get(token.value)
189 self.fail_unknown_tag(token.value, token.lineno)
247 if next(self.stream).value == "endfor":
296 node.name = self.stream.expect("name").value
337 node.with_context = next(self.stream).value == "with"
369 if self.stream.current.value in {
373 node.with_context = next(self.stream).value == "with"
494 target = nodes.NSRef(token.value, attr.value, lineno=token.lineno)
497 target = nodes.Name(token.value, "store", lineno=token.lineno)
650 if token.value in ("true", "false", "True", "False"):
651 node = nodes.Const(token.value in ("true", "True"), lineno=token.lineno)
652 elif token.value in ("none", "None"):
655 node = nodes.Name(token.value, "load", lineno=token.lineno)
659 buf = [token.value]
662 buf.append(self.stream.current.value)
667 node = nodes.Const(token.value, lineno=token.lineno)
768 value = self.parse_expression()
769 items.append(nodes.Pair(key, value, lineno=key.lineno))
791 elif token_type == "name" and self.stream.current.value == "is":
812 node, attr_token.value, "load", lineno=token.lineno
816 arg = nodes.Const(attr_token.value, lineno=attr_token.lineno)
899 key = self.stream.current.value
901 value = self.parse_expression()
902 kwargs.append(nodes.Keyword(key, value, lineno=value.lineno))
927 name = token.value
930 name += "." + self.stream.expect("name").value
950 name = self.stream.expect("name").value
953 name += "." + self.stream.expect("name").value
1001 if token.value:
1002 add_data(nodes.TemplateData(token.value, lineno=token.lineno))