Page MenuHomeWickedGov Phorge

PhpParserNodeEntry.php
No OneTemporary

Size
818 B
Referenced Files
None
Subscribers
None

PhpParserNodeEntry.php

<?php
declare(strict_types=1);
namespace Phan\AST\TolerantASTConverter;
use Microsoft\PhpParser;
use Microsoft\PhpParser\Diagnostic;
/**
* The Microsoft\PhpParser instance produced for a given file contents for the currently running php version's tokenizer.
*
* These are kept in memory when the language server is running.
*
* @phan-read-only
*/
class PhpParserNodeEntry
{
/** @var PhpParser\Node\SourceFileNode the node generated for the given file contents */
public $node;
/** @var Diagnostic[] the list of diagnostics generated for the given file contents */
public $errors;
/**
* @param Diagnostic[] $errors
*/
public function __construct(PhpParser\Node\SourceFileNode $node, array $errors)
{
$this->node = $node;
$this->errors = $errors;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 14:45 (8 h, 11 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a2/bd/92386b58fe74348e43bf508ce454
Default Alt Text
PhpParserNodeEntry.php (818 B)

Event Timeline