Methods |
public
|
__construct(string $name, array $attributes = [])
Constructs an identifier node.
Constructs an identifier node.
Parameters
$name |
Identifier as string
|
$attributes |
Additional attributes
|
Overrides
|
#
|
public
|
getSubNodeNames(): array
Gets the names of the sub nodes.
Gets the names of the sub nodes.
Returns
Implements
|
#
|
public
|
toString(): string
Get identifier as string.
Get identifier as string.
Returns
|
#
|
public
|
toLowerString(): string
Get lowercased identifier as string.
Get lowercased identifier as string.
Returns
Lowercased identifier as string
|
#
|
public
|
isSpecialClassName(): bool
Checks whether the identifier is a special class name (self, parent or static).
Checks whether the identifier is a special class name (self, parent or static).
Returns
Whether identifier is a special class name
|
#
|
public
|
__toString(): string
Get identifier as string.
Get identifier as string.
Returns
|
#
|
public
|
getType(): string
Gets the type of the node.
Gets the type of the node.
Returns
Overriden by
Implements
|
#
|