private string ParseLiteralInner(out bool success)
{
int errorCount = Errors.Count;
StringBuilder text = new StringBuilder();
int start_position = position;
string str = ParseReservedLineBreak(out success);
if (success) { text.Append(str); }
else
{
Error("Failed to parse ReservedLineBreak of LiteralInner.");
position = start_position;
return text.ToString();
}
while (true)
{
str = ParseEmptyLineBlock(out success);
if (success) { text.Append(str); }
else { break; }
}
success = true;
ParseIndent(out success);
if (!success)
{
Error("Failed to parse Indent of LiteralInner.");
position = start_position;
return text.ToString();
}
int counter = 0;
while (true)
{
char ch = ParseNonBreakChar(out success);
if (success) { text.Append(ch); }
else { break; }
counter++;
}
if (counter > 0) { success = true; }
if (!success)
{
Error("Failed to parse (NonBreakChar)+ of LiteralInner.");
position = start_position;
}
if (success) { ClearError(errorCount); }
return text.ToString();
}