slang/syntax/SyntaxNode.h file

Base class and utilities for syntax nodes.

Contents

Namespaces

namespace slang
Root namespace.

Classes

template<typename TNode>
struct slang::TokenOrSyntaxBase
A base class template for a sum type representing either a token or a syntax node.
struct slang::TokenOrSyntax
A token or a syntax node.
struct slang::ConstTokenOrSyntax
A token or a constant syntax node.
class slang::SyntaxNode
Base class for all syntax nodes.
class slang::SyntaxListBase
A base class for syntax nodes that represent a list of items.
template<typename T>
class slang::SyntaxList
A syntax node that represents a list of child syntax nodes.
class slang::TokenList
A syntax node that represents a list of child tokens.
template<typename T>
class slang::SeparatedSyntaxList
template<typename U>
class slang::SeparatedSyntaxList::iterator_base