private function initializeVars(IView $view)
    {
        $this->directiveDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_DIRECTIVE);
        $this->sanitizedTagDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_SANITIZED_TAG);
        $this->unsanitizedTagDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_UNSANITIZED_TAG);
        $this->commentDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_COMMENT);
        // Normalize the line-endings
        $this->input = str_replace(["\r\n", "\r"], "\n", $view->getContents());
        $this->tokens = [];
        $this->cursor = 0;
        $this->line = 1;
        $this->expressionBuffer = '';
    }
private function initializeVars(IView $view)
    {
        $this->directiveDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_DIRECTIVE);
        $this->sanitizedTagDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_SANITIZED_TAG);
        $this->unsanitizedTagDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_UNSANITIZED_TAG);
        $this->commentDelimiters = $view->getDelimiters(IView::DELIMITER_TYPE_COMMENT);
        // Normalize the line-endings
        $this->input = str_replace(["\r\n", "\r"], "\n", $view->getContents());
        $this->tokens = [];
        $this->cursor = 0;
        $this->line = 1;
        $this->expressionBuffer = '';
    }
private function initializeVars ( IView $ view ) { $ this -> directiveDelimiters = $ view -> getDelimiters ( IView :: DELIMITER_TYPE_DIRECTIVE ) ; $ this -> sanitizedTagDelimiters = $ view -> getDelimiters ( IView :: DELIMITER_TYPE_SANITIZED_TAG ) ; $ this -> unsanitizedTagDelimiters = $ view -> getDelimiters ( IView :: DELIMITER_TYPE_UNSANITIZED_TAG ) ; $ this -> commentDelimiters = $ view -> getDelimiters ( IView :: DELIMITER_TYPE_COMMENT ) ; // Normalize the line-endings $ this -> input = str_replace ( [ "\r\n" , "\r" ] , "\n" , $ view -> getContents ( ) ) ; $ this -> tokens = [ ] ; $ this -> cursor = 0 ; $ this -> line = 1 ; $ this -> expressionBuffer = '' ; }
Initializes instance variables for lexing

@param IView $view The view that's being lexed
Initializes instance variables for lexing