slang/syntax/SyntaxListInfo.h file

Reflection helpers for list-typed children of syntax nodes.

Namespaces

namespace slang
Root namespace.
namespace slang::syntax
Syntax tree manipulation.

Classes

struct slang::syntax::ListChildInfo
Reflection metadata for a single list-typed child slot of a SyntaxNode.

Functions

void getChildListInfo(SyntaxNode& node, SmallVector<ListChildInfo, 2>& out)
Fills out with reflection descriptors for any list-typed child slots of node, in flat-index order.