DelphiAST icon indicating copy to clipboard operation
DelphiAST copied to clipboard

Abstract syntax tree builder for Delphi

Results 101 DelphiAST issues
Sort by recently updated
recently updated
newest added

Currently, DelphiAST only extracts "//..." style comments. This branch adds support for "{..}" and "(_.._)" comments as well. This only required changes to SimpleParser.Lexer.pas. In addition, I added support for...

This branch implements a memory pool for each syntax node class. It means that nodes are allocated not from FastMM, but from a pool. When freed, the memory is returned...

I added a string cache to DAST in August last year, which kept down memory fragmentation when it was used repeatedly. It was never pulled into the main branch and...

Fixed error with the forward keyword. Added forward attribute if standalone proc is forwarded in the implementation section

small issue in TmwSimplePasPar.AttributeName; this will not be parsed correct: ``` [test, 'GeoTest2'] procedure GeoTest2; ``` Solution add : case TokenID of ptIn, ptOut, ptConst, ptVar, ptUnsafe **, ptStringConst:** NextToken;...

For the following valid Delphi code: ```pas VAR List: TList= nil; ``` you get the error: `'Greater' expected found '>='` The important thing is `>=` of course. You don't get...

Hi, Came across a piece of code that is like this: ``` if then begin end else begin // statements end; ``` Yes, there is nothing in the initial begin/end...

When attempting to parse the RTL's System.Classes.pas in "C:\Program Files (x86)\Embarcadero\Studio\20.0\source\rtl\System.Classes.pas" throws the error: First chance exception at $7744C5AF. Exception class EParserException with message ''Begin' expected found 'initialization''. Process ProjectIndexerResearch.exe...

While the **uses** node: `` ... as a multiline element has the attributes _begin_line_, _begin_col_, _end_line_, _end_col_, the Comments-node object has only the members **line** and **col**. Although a comment...

Helo Exists conversion AST TO PASCAL ? Tanks