extends |
Scalar |
---|
Methods | ||
---|---|---|
public
|
__construct(string $value, array $attributes = [])
|
# |
public
|
getSubNodeNames(): array
|
# |
public
static
|
fromString(string $str, array $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
|
|
$replacements = [
'\\' => '\\',
'$' => '$',
'n' => "\n",
'r' => "\r",
't' => "\t",
'f' => "\f",
'v' => "\v",
'e' => "\x1B",
]
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |