From 53793612e3a2f1cadc4f7cbf703bcd94b7121414 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 27 Apr 2023 18:32:20 -0700 Subject: Embed stdlib documentation to AST. (#2851) * Embed stdlib documentation to AST. * Extract documentation for attributes. --------- Co-authored-by: Yong He --- source/slang/slang-ast-dump.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/slang/slang-ast-dump.cpp') diff --git a/source/slang/slang-ast-dump.cpp b/source/slang/slang-ast-dump.cpp index 723608bb2..884f8b736 100644 --- a/source/slang/slang-ast-dump.cpp +++ b/source/slang/slang-ast-dump.cpp @@ -351,6 +351,10 @@ struct ASTDumpContext { m_writer->emit((int)kind); } + void dump(MarkupVisibility v) + { + m_writer->emit((int)v); + } void dump(const String& string) { dump(string.getUnownedSlice()); -- cgit v1.2.3