Index

StringNode

MMO\client\scs\nodes · 1 symbol · generated 5 Oct 2026

class

StringNode

StringNode.php:9

A quoted string containing interpolations: "btn-${$name}".

class MMO\client\scs\nodes\StringNode extends MMO\client\scs\nodes\Node
Namespace
MMO\client\scs\nodes
Extends
Node
A string without any `${...}` / `#{...}` is a plain [`LiteralNode`](https://mcp.mmoframework.fr/documentation/mmo.client/php/scs/nodes/LiteralNode.md#literalnode) instead.

Properties2

parts

array $parts
Type
array

Methods1

__construct($parts, $quote)

StringNode.php:14
function __construct(array $parts = [], string $quote = '"')
$parts = []arraythe literal chunks (string) and the interpolated expressions (Node), in order
$quote = '"'stringthe quote character the string was written with
Inherited members (3)
PropertiesDeclared byDescription
locationNode
wsNode
MethodsDeclared byDescription
at($location, $ws)Node