forked from microsoft/tolerant-php-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPropertyHook.php
More file actions
45 lines (41 loc) · 1.32 KB
/
PropertyHook.php
File metadata and controls
45 lines (41 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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\Node;
use Microsoft\PhpParser\FunctionLike;
use Microsoft\PhpParser\Node;
use Microsoft\PhpParser\Node\Statement\CompoundStatementNode;
use Microsoft\PhpParser\Token;
class PropertyHook extends Node implements FunctionLike {
/** @var AttributeGroup[]|null */
public $attributes;
/** @var Token */
public $byRefToken;
/** @var Token */
public $name;
/** @var Token|null */
public $openParen;
/** @var DelimitedList\ParameterDeclarationList|null */
public $parameters;
/** @var Token|null */
public $closeParen;
/** @var Token|null */
public $arrowToken;
/** @var CompoundStatementNode|Expression|Token|null */
public $body;
/** @var Token|null */
public $semicolon;
const CHILD_NAMES = [
'attributes',
'byRefToken',
'name',
'openParen',
'parameters',
'closeParen',
'arrowToken',
'body',
'semicolon',
];
}