struct
#include <slang/syntax/SyntaxNode.h>
TokenOrSyntax A token or a syntax node.
Base classes
- struct ConstTokenOrSyntax
- A token or a constant syntax node.
Public functions
- auto node() const -> SyntaxNode*
- Gets access to the object as a syntax node (throwing an exception if it's not actually a syntax node).