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

Breadcrumb

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

Renderer::$noSemicolon

Node types that does not require semicolon insertion

Type: array

File

vendor/mck89/peast/lib/Peast/Renderer.php, line 40

Class

Renderer
Nodes renderer class

Namespace

Peast

Code

protected $noSemicolon = array(
    "ClassDeclaration",
    "ExportDefaultDeclaration",
    "ForInStatement",
    "ForOfStatement",
    "ForStatement",
    "FunctionDeclaration",
    "IfStatement",
    "LabeledStatement",
    "StaticBlock",
    "SwitchStatement",
    "TryStatement",
    "WhileStatement",
    "WithStatement",
    "MethodDefinition",
);

API Navigation

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