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

Breadcrumb

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

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

Code

public function setRaw($raw) {
    return $this->setValue($raw);
}

API Navigation

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