Roman Yankovsky
Roman Yankovsky
```ntTypeSection |- ntTypeDecl [anName = TNewInteger, anKind = Alias] |- ntType [anName = Integer] ``` This would be alright?
a) For end-user this attribute is not needed :) It was added by one of the contributors for internal purposes only (it is used in the process of tree construction),...
Comments are ignored by lexer, parser doesn't have this information. But I think it is possible to implement. I'll take a look.
@uschuster unfortunately, that's much more complicated... Try to parse this code and take a look at the syntax tree: ``` delphi unit commenttest; interface var Int1 {MyFavoriteInt}, Int2: Integer; implementation...
@vintagedave may be I'm missing an idea, but can you please show me a sample correct syntax tree for code below? I just can't imaging how to do this. ```...
@uschuster worked on that, but have never done a pull request. Did he finished his effort?
I did add TPasSyntaxTreeBuilder.Comments property. It stores all comments in a separate list. Please give it a try. See 25eb2ac8cb65a08b3719943c352c69481aa58bb6
Agree. This would be useful in many cases.
Can we keep both? Full method name as a string and also as a subtree?
Thans, @vintagedave ! But FastMM uses memory pool too, doesn't it? I mean do you have any benchmark that shows that your memory managment is better than FastMM? It's very...