Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1432222
PhpParserNodeEntry.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
818 B
Referenced Files
None
Subscribers
None
PhpParserNodeEntry.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment