Page MenuHomeWickedGov Phorge

MissingToken.php
No OneTemporary

Size
816 B
Referenced Files
None
Subscribers
None

MissingToken.php

<?php
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
namespace Microsoft\PhpParser;
use ReturnTypeWillChange;
class MissingToken extends Token {
public function __construct(int $kind, int $fullStart) {
parent::__construct($kind, $fullStart, $fullStart, 0);
}
#[ReturnTypeWillChange]
public function jsonSerialize() {
return array_merge(
["error" => $this->getTokenKindNameFromValue(TokenKind::MissingToken)],
parent::jsonSerialize()
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 17:38 (1 d, 8 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
90/fa/9d0f2d18322500663e85b3a4ec80
Default Alt Text
MissingToken.php (816 B)

Event Timeline