Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7435217
TaggedTemplateExpression.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
TaggedTemplateExpression.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 tagged template expression.
* For example: fn`template`
*
* @author Marco Marchiò <marco.mm89@gmail.com>
*/
class
TaggedTemplateExpression
extends
Node
implements
Expression
{
/**
* Map of node properties
*
* @var array
*/
protected
$propertiesMap
=
array
(
"tag"
=>
true
,
"quasi"
=>
true
);
/**
* Tag expression
*
* @var Expression
*/
protected
$tag
;
/**
* Template
*
* @var TemplateLiteral
*/
protected
$quasi
;
/**
* Returns the tag expression
*
* @return Expression
*/
public
function
getTag
()
{
return
$this
->
tag
;
}
/**
* Sets the tag expression
*
* @param Expression $tag Tag expression
*
* @return $this
*/
public
function
setTag
(
Expression
$tag
)
{
$this
->
tag
=
$tag
;
return
$this
;
}
/**
* Returns the template
*
* @return TemplateLiteral
*/
public
function
getQuasi
()
{
return
$this
->
quasi
;
}
/**
* Sets the the template
*
* @param TemplateLiteral $quasi Template
*
* @return $this
*/
public
function
setQuasi
(
TemplateLiteral
$quasi
)
{
$this
->
quasi
=
$quasi
;
return
$this
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 12:49 (12 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8e/9e/635d2447730f7304be9691182658
Default Alt Text
TaggedTemplateExpression.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment