Gets a node by name.
string The node name:
Twig_Node A Twig_Node instance
public function getNode($name) {
if (!array_key_exists($name, $this->nodes)) {
throw new Twig_Error_Runtime(sprintf('Node "%s" does not exist for Node "%s".', $name, get_class($this)));
}
return $this->nodes[$name];
}