abstract | |
---|---|
implements |
Node, JsonSerializable |
Methods | ||
---|---|---|
public
|
__construct(array<string, mixed> $attributes = [])
|
# |
public
|
getLine(): int
|
# |
public
|
getStartLine(): int
|
# |
public
|
getEndLine(): int
|
# |
public
|
getStartTokenPos(): int
|
# |
public
|
getEndTokenPos(): int
|
# |
public
|
getStartFilePos(): int
|
# |
public
|
getEndFilePos(): int
|
# |
public
|
getComments(): Comment[]
|
# |
public
|
getDocComment(): null|Doc
|
# |
public
|
setDocComment(Doc $docComment): void
|
# |
public
|
setAttribute(string $key, $value): void
|
# |
public
|
hasAttribute(string $key): bool
|
# |
public
|
getAttribute(string $key, $default = null)
|
# |
public
|
getAttributes(): array
|
# |
public
|
setAttributes(array $attributes): void
|
# |
public
|
jsonSerialize(): array<string, mixed>
|
# |
Properties | |||
---|---|---|---|
protected
|
array<string, mixed>
|
$attributes
|
# |