c91ce94144
It generates a standalone HTML file with all needed JS/CSS embedded. This allows navigating the tree both with a tree widget and in the code, inspecting nodes, and selecting ambiguous alternatives. Demo: https://htmlpreview.github.io/?https://gist.githubusercontent.com/sam-mccall/03882f7499d293196594e8a50599a503/raw/ASTSignals.cpp.html Differential Revision: https://reviews.llvm.org/D130004
16 lines
316 B
HTML
16 lines
316 B
HTML
<div id="tree"><ul></ul></div>
|
|
<pre id="code"></pre>
|
|
<div id="info" hidden>
|
|
<header>
|
|
<span id="i_symbol"></span>
|
|
<span id="i_kind"></span>
|
|
</header>
|
|
<section>
|
|
<div id="i_rules"></div>
|
|
<div id="i_alternatives"></div>
|
|
</section>
|
|
<section>
|
|
<div id="i_ancestors"></div>
|
|
</section>
|
|
</div>
|