extends |
Scalar |
---|
Methods | ||
---|---|---|
public
|
__construct(string $value, array<string, mixed> $attributes = [])
|
# |
public
|
getSubNodeNames(): array
|
# |
public
static
|
fromString(string $str, array<string, mixed> $attributes = [], bool $parseUnicodeEscape = true): self
|
# |
public
|
getType(): string
|
# |
Constants | ||
---|---|---|
public
|
KIND_SINGLE_QUOTED = 1
|
# |
public
|
KIND_DOUBLE_QUOTED = 2
|
# |
public
|
KIND_HEREDOC = 3
|
# |
public
|
KIND_NOWDOC = 4
|
# |
Properties | |||
---|---|---|---|
public
|
string
|
$value
|
# |
protected
static
|
array<string, string>
|
$replacements = [
'\\' => '\\',
'$' => '$',
'n' => "\n",
'r' => "\r",
't' => "\t",
'f' => "\f",
'v' => "\v",
'e' => "\x1B",
]
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |