class
#include <slang/syntax/CSTSerializer.h>
CSTSerializer Converts concrete syntax trees to JSON format for debugging and analysis.
Public functions
- void serialize(const SyntaxTree& tree)
- Serialize a syntax tree to JSON.
- void serialize(const SyntaxNode& node)
- Serialize a syntax node to JSON.