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

Breadcrumb

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

JS::$endScopeTokens

A list of tokens that end the scope.

This array is just a unique collection of the end tokens from the _scopeOpeners array. The data is duplicated here to save time during parsing of the file.

Type: array

Overrides Tokenizer::$endScopeTokens

File

vendor/squizlabs/php_codesniffer/src/Tokenizers/JS.php, line 142

Class

JS

Namespace

PHP_CodeSniffer\Tokenizers

Code

public $endScopeTokens = [
    T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
    T_BREAK => T_BREAK,
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal