Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7406497
ExportSpecifier.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ExportSpecifier.php
View Options
<?php
/**
* This file is part of the Peast package
*
* (c) Marco Marchiò <marco.mm89@gmail.com>
*
* For the full copyright and license information refer to the LICENSE file
* distributed with this source code
*/
namespace
Peast\Syntax\Node
;
/**
* A node that represents a specifier in an export declaration.
* For example "{a}" in: export {a}
*
* @author Marco Marchiò <marco.mm89@gmail.com>
*/
class
ExportSpecifier
extends
ModuleSpecifier
{
/**
* Map of node properties
*
* @var array
*/
protected
$propertiesMap
=
array
(
"exported"
=>
true
);
/**
* Exported identifier
*
* @var Identifier|StringLiteral
*/
protected
$exported
;
/**
* Returns the exported identifier
*
* @return Identifier|StringLiteral
*/
public
function
getExported
()
{
return
$this
->
exported
;
}
/**
* Sets the exported identifier
*
* @param Identifier|StringLiteral $exported Exported identifier
*
* @return $this
*/
public
function
setExported
(
$exported
)
{
$this
->
assertType
(
$exported
,
array
(
"Identifier"
,
"StringLiteral"
));
$this
->
exported
=
$exported
;
return
$this
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 20:26 (1 d, 8 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
91/66/41bd952ad22ff2089534eb78a3ff
Default Alt Text
ExportSpecifier.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment