Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BigIntLiteral.php

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\Node

Code

public function setValue($value) {
    
    //Value, Raw and Bigint are always the same value
    $this->value = $this->raw = $this->bigint = $value;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal