Commit Graph

620 Commits

Author SHA1 Message Date
Pascal Riekenberg
781955e856 Codetools: Keep empty () on code completion. Issue #39712, patch by Domingo Galmés. 2022-07-06 22:32:10 +02:00
mattias
66b36cd172 codetools: fixed some tests 2022-06-17 17:35:23 +02:00
mattias
4e92b0a028 codetools: removed modeswitch clousers, added functionreferences and anonymousfunctions 2022-05-27 00:17:10 +02:00
Martin
599e06f718 CodeTool: Parse packed array params "procedure Foo(bar: packed array of integer)" 2022-05-02 17:44:28 +02:00
Juha Manninen
62db64ddb8 Merge branch 'codetools-internproc-add' into 'main'
Internproc processing added to CodeTools when modeswitch PrefixedAttributes

See merge request freepascal.org/lazarus/lazarus!73
2022-02-24 13:17:09 +00:00
Sergey Larin
ef53a0ca6e Internproc processing added to CodeTools when modeswitch PrefixedAttributes.
Implemented by analogy with `alias:'name1'` processing.
2022-02-19 14:51:03 +03:00
Sergey Larin
abf2576e8d Updated supported procedure modifiers: noinline, noreturn 2022-02-19 13:16:20 +03:00
PeaZomboss
6f8172a61a Codetools: Allow keyword const in generic parameter list. Issue #38087. 2022-01-18 23:51:27 +08:00
mattias
f84b6b1c5a codetools: fixed parsing sub proc of anonymous proc 2021-11-18 22:40:39 +01:00
Juha
937b6bdfef Codetools: Ignore empty () in function description. Generate function body correctly. Issue #39441, patch by Domingo Galmés. 2021-10-30 23:17:29 +03:00
juha
57339c6efd CodeTools: Allow a "var" section inside a record with {$modeswitch advancedrecords}. Issue #38957, patch by Domingo Galmés.
git-svn-id: trunk@65275 -
2021-06-18 17:58:28 +00:00
mattias
e70b03a463 codetools: readparamtype: use ReadTypeReference
git-svn-id: trunk@65081 -
2021-05-02 15:37:01 +00:00
mattias
d3ab310266 codetools: fixed parsing var w:word platform = 1 platform
git-svn-id: trunk@64692 -
2021-02-28 21:33:21 +00:00
mattias
4ba43eba0b codetools: fixed parsing var c:word = 1 deprecated, issue #38554
git-svn-id: trunk@64688 -
2021-02-28 08:59:14 +00:00
pascal
31d43390f6 codetools: threadvar support for pascalparsertool. Issue #36947, patch from Delcio Sbeghen.
git-svn-id: trunk@64146 -
2020-11-17 19:25:20 +00:00
mattias
2a1638310f codetools: added winapi proc modifier, issue #36927
git-svn-id: trunk@63633 -
2020-07-23 13:39:46 +00:00
mattias
9aa25f1ba7 codetools: extract generic type reference, from Pascal Riekenberg
git-svn-id: trunk@63148 -
2020-05-14 08:17:17 +00:00
mattias
1c9deb7a4c codetools: undo patch r62693 #d1b15edcfe, it broke some tests
git-svn-id: trunk@63137 -
2020-05-12 17:08:22 +00:00
juha
d1b15edcfe Codetools: Improve parsing of recursive generics structures. Issue #34824, patch from soerensen3.
git-svn-id: trunk@62693 -
2020-03-05 10:47:05 +00:00
mattias
3007a4b542 codetools: parse varargs of type
git-svn-id: trunk@62655 -
2020-02-21 11:42:49 +00:00
mattias
b6112f516e codetools: parse property; experimental; platform
git-svn-id: trunk@62394 -
2019-12-14 18:02:51 +00:00
mattias
927af7729c codetools: omit end keyword of unit begin block
git-svn-id: trunk@61870 -
2019-09-13 19:22:42 +00:00
mattias
87a7521bad codetools: fixed class completion with function result type params
git-svn-id: trunk@61717 -
2019-08-17 18:35:58 +00:00
mattias
c48756a9cc codetools: fixed parsing non advanced records
git-svn-id: trunk@61479 -
2019-06-26 14:09:31 +00:00
mattias
66cbca668d codetools: fixed parsing, issue #35713
git-svn-id: trunk@61375 -
2019-06-13 06:53:27 +00:00
mattias
d86e447ba3 codetools: fixed result, issue #35632
git-svn-id: trunk@61373 -
2019-06-12 22:22:15 +00:00
mattias
6042984507 codetools: fixed result, issue #35632
git-svn-id: trunk@61368 -
2019-06-12 15:33:06 +00:00
mattias
1d8e8b2751 codetools: fixed node start class sections
git-svn-id: trunk@61109 -
2019-05-03 08:54:34 +00:00
mattias
a4ae7916e1 codetools: debug
git-svn-id: trunk@60488 -
2019-02-24 14:21:51 +00:00
mattias
537034bb2b codetools: fixed parsing generic class function and generic function after type section
git-svn-id: trunk@60479 -
2019-02-24 13:58:48 +00:00
mattias
22bf03c944 codetools: fixed readclosure for empty type section
git-svn-id: trunk@59858 -
2018-12-18 23:28:05 +00:00
mattias
7feb086d64 codetools: fixed anonymous expr as arg and dot operator
git-svn-id: trunk@59845 -
2018-12-18 12:41:17 +00:00
mattias
07ff5d447e codetools: anonymous functions in pas2js
git-svn-id: trunk@59832 -
2018-12-17 11:57:09 +00:00
mattias
36e39cc57f codetools: parse assign anonymous procedure
git-svn-id: trunk@59797 -
2018-12-11 23:46:15 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
mattias
d36c84686d codetools: parse external class const
git-svn-id: trunk@57954 -
2018-05-18 08:04:31 +00:00
mattias
216dd81ec1 codetools: parsing external const
git-svn-id: trunk@57804 -
2018-05-07 18:10:22 +00:00
mattias
a040f6c847 codetools: fixed parsing class operator method
git-svn-id: trunk@57648 -
2018-04-12 19:42:13 +00:00
mattias
c4d77663b1 codetools: fixed ExtractPocHead generic delphi method
git-svn-id: trunk@57645 -
2018-04-12 18:51:54 +00:00
mattias
ff804887a0 codetools: parse delphi generic method
git-svn-id: trunk@57642 -
2018-04-11 18:49:18 +00:00
mattias
aca4d3b81b codetools: parse generic class method
git-svn-id: trunk@57638 -
2018-04-10 18:59:30 +00:00
mattias
38166e7a0a codetools: parse built-in function concat in constant, issue #33201
git-svn-id: trunk@57339 -
2018-02-20 17:35:27 +00:00
mattias
8773b02bb2 codetools: fixed reparsing program
git-svn-id: trunk@57251 -
2018-02-04 09:18:20 +00:00
mattias
e39d6c3eff codetools: fixed restart parsing
git-svn-id: trunk@57250 -
2018-02-04 01:58:39 +00:00
mattias
92b1658960 codetools: debug continue parsing
git-svn-id: trunk@57237 -
2018-02-03 20:03:56 +00:00
juha
1cefe1d894 IDE: Formatting.
git-svn-id: trunk@57120 -
2018-01-19 12:12:42 +00:00
mattias
01020fb1c1 codetools: debug FindFileAtCursor
git-svn-id: trunk@56729 -
2017-12-14 18:03:28 +00:00
mattias
e70bcaab5a codetools: class completion Delphi generic, from Pascal Riekenberg
git-svn-id: trunk@56571 -
2017-12-01 09:40:20 +00:00
mattias
736b502b50 codetools: clean up
git-svn-id: trunk@56565 -
2017-11-30 21:31:27 +00:00
mattias
ccea2a4b40 codetools: complete property: set defaults, complex type
git-svn-id: trunk@56526 -
2017-11-28 14:39:38 +00:00