Block

A block of code such such as a local scope enclosed by brackets, {}.

It is intended to be possible to delete it. But it may need to be further analyzed for e.g. Return nodes.

@safe
class Block : Node {}

Members

Mixins

__anonymous
mixin NodeKind
Undocumented in source.

Mixed In Members

From mixin NodeKind

kind
Kind kind()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Node

kind
Kind kind()
Undocumented in source.
children
Node[] children;
Undocumented in source.
blacklist
bool blacklist;

If the node is blacklisted from being mutated. This is for example when the node covers a C macro.

Meta