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
Sat, May 16, 21:32 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d5/6e/c246bb58e3dcdc29c9494a7be142
Default Alt Text
PhpParserNodeEntry.php (818 B)

Event Timeline