internal void SyntaxError( TokenzierContext context, CharacterLocationExtended location, string helpText) { context.Errors.Add(new InvalidPathSyntaxError(location, SourceExpression, helpText)); }
internal IndexedParseException(CharacterLocationExtended location, string message) : base(FormatMessage(message, location)) { Location = location; }
internal static string FormatMessage(string message, CharacterLocationExtended location) { return($"{location.Line}:{location.Character} {message}" + Environment.NewLine + location.Render()); }