private string GetValueBase(string expectedType) { AddContext(expectedType); if (!SkipAhead()) { throw ParsingException.LineEnd(currentContext, RealLineIndex); } return(GetSection()); }
protected string GetStrValue() { AddContext("string"); if (!SkipAhead()) { var newContext = new List <string>(currentContext); RemoveContext(); throw ParsingException.LineEnd(newContext, RealLineIndex); } RemoveContext(); return(GetStrValueUnderhood()); }