slang/ast/ASTVisitor.h file

AST traversal.

Namespaces

namespace slang
Root namespace.
namespace slang::ast
The SystemVerilog AST.

Classes

template<typename TDerived, bool VisitStatements, bool VisitExpressions, bool VisitBad = false>
class slang::ast::ASTVisitor
A base class for AST visitors.

Functions

template<typename... Functions>
auto makeVisitor(Functions... funcs) -> auto
Creates an ASTVisitor out of the provided handler functions.