Lines Matching refs:Out

59   llvm::raw_ostream &Out;  member
65 Out << "<!doctype html>\n"; in write()
68 tag("title", [&] { Out << "HTMLForest"; }); in write()
69 tag("script", [&] { Out << HTMLForest_js; }); in write()
70 tag("style", [&] { Out << HTMLForest_css; }); in write()
72 Out << "var forest="; in write()
74 Out << ";"; in write()
78 tag("body", [&] { Out << HTMLForest_html; }); in write()
85 Out << "<" << Opener << ">"; in tag()
87 Out << "</" << Opener.split(' ').first << ">\n"; in tag()
102 Out << ' '; in writeCode()
104 Out << " \n"; // Extra space aids selection. in writeCode()
105 Out.indent(T.Indent); in writeCode()
107 Out << "<span class='token' id='t" << Stream.index(T) << "'>"; in writeCode()
108 llvm::printHTMLEscaped(Text, Out); in writeCode()
109 Out << "</span>"; in writeCode()
114 Out << '\n'; in writeCode()
135 llvm::json::OStream Out(this->Out, 2); in writeForestJSON() local
136 Out.array([&] { in writeForestJSON()
140 Out.object([&] { in writeForestJSON()
141 Out.attribute("symbol", G.symbolName(N->symbol())); in writeForestJSON()
144 Out.attribute("kind", "terminal"); in writeForestJSON()
145 Out.attribute("token", TokenID(N->startTokenIndex())); in writeForestJSON()
148 Out.attribute("kind", "sequence"); in writeForestJSON()
149 Out.attribute("rule", G.dumpRule(N->rule())); in writeForestJSON()
152 Out.attribute("kind", "ambiguous"); in writeForestJSON()
153 Out.attribute("selected", AssignID(N->children().front(), End)); in writeForestJSON()
156 Out.attribute("kind", "opaque"); in writeForestJSON()
157 Out.attribute("firstToken", TokenID(N->startTokenIndex())); in writeForestJSON()
161 Out.attribute("lastToken", TokenID(End - 1)); in writeForestJSON()
166 Out.attributeArray("children", [&] { in writeForestJSON()
168 Out.value(AssignID(Children[I], in writeForestJSON()