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

Breadcrumb

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

function Printer::printConstExpr

2 calls to Printer::printConstExpr()
Printer::print in vendor/phpstan/phpdoc-parser/src/Printer/Printer.php
Printer::printType in vendor/phpstan/phpdoc-parser/src/Printer/Printer.php

File

vendor/phpstan/phpdoc-parser/src/Printer/Printer.php, line 534

Class

Printer
Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd49…

Namespace

PHPStan\PhpDocParser\Printer

Code

private function printConstExpr(ConstExprNode $node) : string {
    // this is fine - ConstExprNode classes do not contain nodes that need smart printer logic
    return (string) $node;
}

API Navigation

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