function BigIntLiteral::setValue
Sets node's value
Parameters
float $value Value:
Return value
$this
Overrides Literal::setValue
1 call to BigIntLiteral::setValue()
- BigIntLiteral::setBigint in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ BigIntLiteral.php - Sets node's value
File
-
vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Node/ BigIntLiteral.php, line 42
Class
- BigIntLiteral
- A node that represents a BigInt literal.
Namespace
Peast\Syntax\NodeCode
public function setValue($value) {
//Value, Raw and Bigint are always the same value
$this->value = $this->raw = $this->bigint = $value;
return $this;
}