Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Lexer.php

function Lexer::setInput

Parameters

string $input:

Return value

$this

File

vendor/seld/jsonlint/src/Seld/JsonLint/Lexer.php, line 125

Class

Lexer
Lexer class

Namespace

Seld\JsonLint

Code

public function setInput($input) {
    $this->input = $input;
    $this->more = false;
    $this->done = false;
    $this->offset = 0;
    $this->yylineno = $this->yyleng = 0;
    $this->yytext = $this->match = '';
    $this->yylloc = array(
        'first_line' => 1,
        'first_column' => 0,
        'last_line' => 1,
        'last_column' => 0,
    );
    return $this;
}
RSS feed
Powered by Drupal