private string ParseSingleQuotedMultiLine(out bool success)
{
int errorCount = Errors.Count;
StringBuilder text = new StringBuilder();
int start_position = position;
string str = ParseSingleQuotedMultiLineFist(out success);
if (success) { text.Append(str); }
else
{
Error("Failed to parse SingleQuotedMultiLineFist of SingleQuotedMultiLine.");
position = start_position;
return text.ToString();
}
while (true)
{
str = ParseSingleQuotedMultiLineInner(out success);
if (success) { text.Append(str); }
else { break; }
}
success = true;
str = ParseSingleQuotedMultiLineLast(out success);
if (success) { text.Append(str); }
else
{
Error("Failed to parse SingleQuotedMultiLineLast of SingleQuotedMultiLine.");
position = start_position;
}
if (success) { ClearError(errorCount); }
return text.ToString();
}