function Literal::setRaw
Sets node's raw value
Parameters
mixed $raw Raw value:
Return value
$this
3 methods override Literal::setRaw()
- NumericLiteral::setRaw in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ NumericLiteral.php - Sets node's raw value
- RegExpLiteral::setRaw in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ RegExpLiteral.php - Sets node's raw value that must include delimiters
- StringLiteral::setRaw in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ StringLiteral.php - Sets node's raw value
File
-
vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ Literal.php, line 89
Class
- Literal
- Abstract class for literals.
Namespace
Peast\Syntax\NodeCode
public function setRaw($raw) {
return $this->setValue($raw);
}