Skip to content

Core\Ast\Node

One part of a parsed source file, such as a class, a statement or an expression. A node has its kind, the nodes inside it, and the place where it starts in the source.

Returned by

You get a Core\Ast\Node from these methods:

Members

6 members.

MemberSignature
kindkind(): string
childrenchildren(): array<Core\Ast\Node>
nodesnodes(): array<Core\Ast\Node>
lineline(): int
columncolumn(): int
offsetoffset(): int