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

Inherited Members

From Node

kind
Kind kind()
Undocumented in source.
id
ulong id()
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.

schemaBlacklist
bool schemaBlacklist;

If the node should not be part of mutant schemata because it is highly likely to introduce compilation errors. It is for example likely when operators are overloaded.

covBlacklist
bool covBlacklist;

Block nodes that have a high probability of failing from being coverage instrumented.

opEquals
bool opEquals(Kind k)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta