Toot

Written by The Last Psion | Alex on 2025-01-25 at 10:03

Well, it was surprisingly easy. Here, I'm re-declaring a strict protected method as private:

TPsionOOParserWrap = class(TPsionOOParser)

    private

        procedure _AddToken(toktype: TTokenType; tokliteral: String);

end;

{ snip }

procedure TPsionOOParserWrap._AddToken(toktype: TTokenType; tokliteral: String);

begin

Inherited;

end;

If someone with more knowledge of #ObjectPascal than me thinks that this is unnecessary, or there's a better way to do it, then please let me know!

[#]Pascal #FreePascal

=> More informations about this toot | View the thread | More toots from thelastpsion@oldbytes.space

Mentions

Tags

=> View objectpascal tag | View pascal tag | View freepascal tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113888420399403942
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
236.692875 milliseconds
Gemini-to-HTML Time
0.813799 milliseconds

This content has been proxied by September (3851b).