original_string: public function parse(Twig_Token $token)
      {
          $parser = $this->parser;
          $stream = $parser->getStream();
  
          $view = $parser->getExpressionParser()->parseExpression();
  
          $variablesOverride = new Twig_Node_Expression_Array(array(), $token->getLine());
          if ($stream->test(Twig_Token::NAME_TYPE, 'with')) {
              $stream->next();
  
              $variablesOverride->addElement($this->parser->getExpressionParser()->parseExpression());
          }
  
          $stream->expect(Twig_Token::BLOCK_END_TYPE);
  
          $viewTemplateExpr = new Twig_Node_Expression_MethodCall(
              $view,
              'getTemplateFile',
              new Twig_Node_Expression_Array(array(), $token->getLine()),
              $token->getLine()
          );
  
          $variablesExpr = new Twig_Node_Expression_MethodCall(
              $view,
              'getTemplateVars',
              $variablesOverride,
              $token->getLine()
          );
  
          return new Twig_Node_Include(
              $viewTemplateExpr,
              $variablesExpr,
              $only = false,
              $ignoreMissing = false,
              $token->getLine()
          );
      }
code: public function parse(Twig_Token $token)
      {
          $parser = $this->parser;
          $stream = $parser->getStream();
  
          $view = $parser->getExpressionParser()->parseExpression();
  
          $variablesOverride = new Twig_Node_Expression_Array(array(), $token->getLine());
          if ($stream->test(Twig_Token::NAME_TYPE, 'with')) {
              $stream->next();
  
              $variablesOverride->addElement($this->parser->getExpressionParser()->parseExpression());
          }
  
          $stream->expect(Twig_Token::BLOCK_END_TYPE);
  
          $viewTemplateExpr = new Twig_Node_Expression_MethodCall(
              $view,
              'getTemplateFile',
              new Twig_Node_Expression_Array(array(), $token->getLine()),
              $token->getLine()
          );
  
          $variablesExpr = new Twig_Node_Expression_MethodCall(
              $view,
              'getTemplateVars',
              $variablesOverride,
              $token->getLine()
          );
  
          return new Twig_Node_Include(
              $viewTemplateExpr,
              $variablesExpr,
              $only = false,
              $ignoreMissing = false,
              $token->getLine()
          );
      }
code_tokens: public function parse ( Twig_Token $ token ) { $ parser = $ this -> parser ; $ stream = $ parser -> getStream ( ) ; $ view = $ parser -> getExpressionParser ( ) -> parseExpression ( ) ; $ variablesOverride = new Twig_Node_Expression_Array ( array ( ) , $ token -> getLine ( ) ) ; if ( $ stream -> test ( Twig_Token :: NAME_TYPE , 'with' ) ) { $ stream -> next ( ) ; $ variablesOverride -> addElement ( $ this -> parser -> getExpressionParser ( ) -> parseExpression ( ) ) ; } $ stream -> expect ( Twig_Token :: BLOCK_END_TYPE ) ; $ viewTemplateExpr = new Twig_Node_Expression_MethodCall ( $ view , 'getTemplateFile' , new Twig_Node_Expression_Array ( array ( ) , $ token -> getLine ( ) ) , $ token -> getLine ( ) ) ; $ variablesExpr = new Twig_Node_Expression_MethodCall ( $ view , 'getTemplateVars' , $ variablesOverride , $ token -> getLine ( ) ) ; return new Twig_Node_Include ( $ viewTemplateExpr , $ variablesExpr , $ only = false , $ ignoreMissing = false , $ token -> getLine ( ) ) ; }
docstring: Parses the Twig stream and creates a Twig_Node_Include instance that includes
  the View's template.
  
  @return Twig_Node_Include
docstring_tokens: Parses the Twig stream and creates a Twig_Node_Include instance that includes the View s template .