function Literal::setValue
Sets node's value
Parameters
mixed $value Value:
Return value
$this
1 call to Literal::setValue()
- Literal::setRaw in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ Literal.php - Sets node's raw value
6 methods override Literal::setValue()
- BigIntLiteral::setValue in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ BigIntLiteral.php - Sets node's value
- BooleanLiteral::setValue in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ BooleanLiteral.php - Sets node's value
- NullLiteral::setValue in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ NullLiteral.php - Sets node's value
- NumericLiteral::setValue in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ NumericLiteral.php - Sets node's value
- RegExpLiteral::setValue in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ RegExpLiteral.php - Sets node's value
File
-
vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ Literal.php, line 70
Class
- Literal
- Abstract class for literals.
Namespace
Peast\Syntax\NodeCode
public abstract function setValue($value);