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

Breadcrumb

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

Lexer::$rules

@phpstan-var array<int<0,17>, string> @const

Type: rules

File

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

Class

Lexer
Lexer class

Namespace

Seld\JsonLint

Code

private $rules = array(
    0 => '/\\G\\s*\\n\\r?/',
    1 => '/\\G\\s+/',
    2 => '/\\G-?([0-9]|[1-9][0-9]+)(\\.[0-9]+)?([eE][+-]?[0-9]+)?\\b/',
    3 => '{\\G"(?>\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^\\0-\\x1f\\\\"]++)*+"}',
    4 => '/\\G\\{/',
    5 => '/\\G\\}/',
    6 => '/\\G\\[/',
    7 => '/\\G\\]/',
    8 => '/\\G,/',
    9 => '/\\G:/',
    10 => '/\\Gtrue\\b/',
    11 => '/\\Gfalse\\b/',
    12 => '/\\Gnull\\b/',
    13 => '/\\G$/',
    14 => '/\\G\\/\\//',
    15 => '/\\G\\/\\*/',
    16 => '/\\G\\*\\//',
    17 => '/\\G./',
);
RSS feed
Powered by Drupal