template<typename TDerived, bool VisitStatements, bool VisitExpressions>
slang::ASTVisitor struct

Use this type as a base class for AST visitors. It will default to traversing all children of each node. Add implementations for any specific node types you want to handle.