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

Breadcrumb

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

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

... See full list

File

vendor/mck89/peast/lib/Peast/Syntax/Node/Literal.php, line 70

Class

Literal
Abstract class for literals.

Namespace

Peast\Syntax\Node

Code

public abstract function setValue($value);

API Navigation

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