paul
|
5b9adfd0df
generics: store generic type with '<,>' symbols to prevent hiding of regular types with the same name and hiding generics with the same name but different type parameters, search them using '<,>' symbols, in inline specialization do search with look ahead.
|
14 jaren geleden |
paul
|
0be10ee19f
compiler: fix comments
|
14 jaren geleden |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
14 jaren geleden |
paul
|
def46487eb
compiler: simplify _CLASS token handling in record declarations too
|
14 jaren geleden |
paul
|
2599cc63bd
compiler: implement generic procedural types
|
14 jaren geleden |
paul
|
0d6b62d293
compiler: allow generic inline specialization for delphi mode (like TFoo<Integer>.Create)
|
14 jaren geleden |
paul
|
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
|
14 jaren geleden |
paul
|
4cfcc7ae7b
compiler: implement delphi generic syntax for delphi mode
|
14 jaren geleden |
paul
|
7c33505916
compiler: don't create enum defs for specializations declarations. Enums are stored in the unit symtables and generic declarations already add them there. Therefore specializations should search for enum defs declared by generics and use them instead of own.
|
14 jaren geleden |
paul
|
55a0fefb1f
compiler: implement generic array type:
|
14 jaren geleden |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
14 jaren geleden |
paul
|
52667b6822
compiler: implement generics for records based on generic objects implementation + 1 test
|
14 jaren geleden |
paul
|
327b570ea4
compiler: rename extended records to advanced records
|
14 jaren geleden |
paul
|
210e78e4fa
compiler: allow objects and records to have members which point to themself. only don't permit this to regular fields.
|
14 jaren geleden |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
14 jaren geleden |
paul
|
92d6503704
compiler: rename _EQUAL token to _EQ to prevent problems with adding delphi operator names which contains "EQUAL" name, also rename _UNEQUAL to _NE for consistency
|
14 jaren geleden |
paul
|
d1026bb052
compiler: reintegrate branch http://svn.freepascal.org/svn/fpc/branches/paul/extended_records
|
15 jaren geleden |
paul
|
742b0bb686
compiler: partly revert r16560 and disable (at least temporary) constructors in records
|
15 jaren geleden |
paul
|
726ea27bc0
compiler:
|
15 jaren geleden |
paul
|
11d4eddf67
compiler: a trial to implement record constructor
|
15 jaren geleden |
paul
|
582ab2dd32
compiler: disallow regular class methods in records and allow only static class methods. delphi do so and it is logical because records have no inheritance. + tests
|
15 jaren geleden |
paul
|
17815ce7a2
compiler: implement properties in records:
|
15 jaren geleden |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
15 jaren geleden |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
15 jaren geleden |
paul
|
26cef34005
compiler:
|
15 jaren geleden |
paul
|
902a78eec1
compiler: add current_structdef: tabstractrecorddef and point current_objectdef to it
|
15 jaren geleden |
paul
|
8e36256bc9
compiler: add support for visibility blocks in records and type, const declarations:
|
15 jaren geleden |
paul
|
af39178e06
compiler: redo type search in parent classes. previous trial breaks objective pascal implementation
|
15 jaren geleden |
florian
|
9dc584efbf
* patch by Aleksa Todorovic to solve another issue with nested generics, resolves #17193
|
15 jaren geleden |
paul
|
ab4a5c74c1
compiler: allow TFoo.TBar types for object methods (bug #0018123)
|
15 jaren geleden |