Lines Matching refs:nodes
155 # [0] is the stack of nodes that |found_key| has been found in.
184 # |found_node_list| will be all the nodes that |key| has been found in.
192 # Check all the nodes not yet checked for |key|.
202 # The nodes will have been found in reverse stack order. After extending
203 # the found nodes, the freshest value will be at the tip of the stack.
410 def __init__(self, nodes):
411 assert nodes
412 self._nodes = nodes
931 nodes = []
944 nodes += self._ParseNextOpenToken(tokens)
946 for i, node in enumerate(nodes):
950 previous_node = nodes[i - 1] if i > 0 else None
951 next_node = nodes[i + 1] if i < len(nodes) - 1 else None
971 nodes[i] = rendered_node
973 if len(nodes) == 0:
975 if len(nodes) == 1:
976 return nodes[0]
977 return _NodeCollection(nodes)
990 # Inline nodes that don't take arguments.
999 # Inline nodes that take arguments.
1009 # Block nodes, though they may have inline syntax like {{#foo bar /}}.
1061 nodes = []
1066 nodes.append(node)
1068 nodes.append(else_node_class(bind_to, id_, else_section))
1069 return nodes