Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:Expansion

300       " .expansion { display: none; }\n"
301 " .macro:hover .expansion { display: block; border: 2px solid #FF0000; "
519 // Okay, we have the first token of a macro expansion: highlight the
520 // expansion by inserting a start tag before the macro expansion and
532 "Start and end of expansion must be in the same ultimate file!");
534 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok));
535 unsigned LineLen = Expansion.size();
547 // Insert a newline if the macro expansion is getting large.
549 Expansion += "<br>";
553 LineLen -= Expansion.size();
559 Expansion += ' ';
562 Expansion += EscapeText(TmpPP.getSpelling(Tok));
563 LineLen += Expansion.size();
571 // Insert the expansion as the end tag, so that multi-line macros all get
573 Expansion = "<span class='expansion'>" + Expansion + "</span></span>";
576 "<span class='macro'>", Expansion.c_str());