Enum DeclarationListStyle

Describes which syntax was used in a list of declarations in the containing AST node

enum DeclarationListStyle : ubyte { ... }

Enum members

NameDescription
block The declarations have been specified in a block denoted by starting { and ending } tokens.
colon A colon (:) was used in the containing AST node meaning all following declarations are part here.
single A declaration directly after the containing AST node making it the only child