Branch

The code for one of the branches resulting from a condition.

It can be the branches in a if-else statement or a case branch for languages such as C/C++.

The important aspect is that the branch is not an expression. It can't be evaluated to a value of a type.

@safe
class Branch : Node {}

Members

Mixins

__anonymous
mixin NodeKind
Undocumented in source.

Variables

inside
Block inside;
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