Lines Matching refs:Indent
52 std::string Indent(IndentCount * 2 + 4, ' ');
64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n";
69 OS << Indent << Split.first << "\n";
92 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '"
94 OS << Indent << " break;\n";
98 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo
101 OS << Indent << " break;\n";
110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
111 OS << Indent << "default: break;\n";
116 OS << Indent << "case '" << LI->first << "':\t // "
122 OS << Indent << " break;\n";
125 OS << Indent << "}\n";
131 void StringMatcher::Emit(unsigned Indent, bool IgnoreDuplicates) const {
143 OS.indent(Indent*2+2) << "switch (" << StrVariableName << ".size()) {\n";
144 OS.indent(Indent*2+2) << "default: break;\n";
148 OS.indent(Indent*2+2) << "case " << LI->first << ":\t // "
151 if (EmitStringMatcherForChar(LI->second, 0, Indent, IgnoreDuplicates))
152 OS.indent(Indent*2+4) << "break;\n";
155 OS.indent(Indent*2+2) << "}\n";