Entity

Represents a slice of the original code.

Members

Variables

children
Entity[] children;

This node's children nodes, e.g. the statements of the statement block.

dependencies
Entity[] dependencies;

If any of these entities are omitted, so should this entity.

descendants
size_t descendants;

For progress display

head
string head;

This node's "head", e.g. "{" for a statement block.

id
int id;

For diagnostics

isPair
bool isPair;

Internal hint for --dump output

noRemove
bool noRemove;

Don't try removing this entity (children OK)

removed
bool removed;

For dangling dependencies

tail
string tail;

This node's "tail", e.g. "}" for a statement block.

token
DSplitter.Token token;

Used internally

Meta