Raphael Amiard
5e09063757
Q322-037: Implement proper snapping
...
Users can annotate node that they want to have snapping sloc behavior.
Additionally, incomplete nodes snap at the end.
Change-Id: Ib3b8d3337d1356059b01694b547265386afd814f
2018-02-15 12:16:32 +01:00
Pierre-Marie de Rodat
704f75dfaa
Add a testcase to check that entity equality works in the Python API
...
TN: R206-016
2018-02-07 15:15:49 +01:00
Pierre-Marie de Rodat
6bea6442a6
Display only the unit base file name in various Image functions
...
This will make it possible to preserve a stable image after we enable
unit filename canonicalization (i.e. getting an absolute path).
TN: R206-016
2018-02-07 15:15:49 +01:00
Pierre-Marie de Rodat
2cccb85f0e
Parsers: remove the keep=True feature for Token parsers
...
Update testcases accordingly.
TN: R125-040
2018-01-29 12:24:34 +01:00
Pierre-Marie de Rodat
325b34c80b
Switch from token types fields to a full token node formalism
...
This change:
* makes the .symbol DSL attribute accept token nodes only (used to
be tokens);
* makes the .get* DSL attributes accept token nodes and symbols
(used to be tokens and symbols);
* updates the testsuite accordingly.
Both make the token type essentially useless in the properties DSL.
TN: R125-040
2018-01-29 12:09:56 +01:00
Pierre-Marie de Rodat
abb941feec
Parsers: keep parsed tokens by default
...
Also simplify token parsers throughout all the testsuite.
TN: R125-040
2018-01-29 12:09:07 +01:00
Pierre-Marie de Rodat
dec2603c9e
Refactor Diagnostics/testcases to avoid code duplication in testcases
...
(no-tn-check)
2017-12-06 12:50:24 +01:00
Pierre-Marie de Rodat
bc9f182725
Testsuite: remove most explicit calls to Populate_Lexical_Env
...
Better remove them now they are optional. Leave the ones that are
meaningful for the specific testcases.
TN: QB15-019
2017-11-15 16:25:51 +01:00
Pierre-Marie de Rodat
a79eac88ad
DSL: rename Token andd Symbol to TokenType and SymbolType
...
TN: QA16-034
2017-10-16 15:33:22 -04:00
Pierre-Marie de Rodat
ea32cb921a
Assign explicit TypeRepo names for builtin types
...
TN: QA16-034
2017-10-16 15:17:39 -04:00
Pierre-Marie de Rodat
817f1eb1d4
Emit only one entity type in the C/Python APIs
...
TN: Q920-012
2017-09-29 12:53:20 +02:00
Pierre-Marie de Rodat
4a72b881f3
testsuite: avoid arrays of AST nodes in public properties
...
TN: Q920-012
2017-09-27 11:46:07 +02:00
Pierre-Marie de Rodat
2378c01ae4
Forbid structure types in the public API
...
TN: Q920-012
2017-09-26 17:12:38 +02:00
Pierre-Marie de Rodat
763ffcfcfd
Remove the --library-fields-all-public option
...
This feature is seldomly used (and tested...) and spreads in the
codebase. Now that we have powerful debugging capabilities for generated
libraries, it is less useful that before anyway.
TN: Q920-012
2017-09-20 10:28:37 +02:00
Pierre-Marie de Rodat
d8425c5268
Remove dependence on library_fields_all_public in some tests
...
TN: Q920-012
2017-09-20 10:25:00 +02:00
Pierre-Marie de Rodat
14415c9ce6
Testsuite: simplify interface of emit_and_print_errors
...
(no-tn-check)
2017-08-10 15:46:07 +02:00
Raphael Amiard
bbea2feaa3
Q630-014: Adapt tests
...
Change-Id: I50be23fd9126bb00c01f0df90db5d3812c7c30a5
2017-07-03 18:09:35 +02:00
Raphael Amiard
dad68363d4
Q630-014: Change EnvSpec's API
...
Change-Id: Iae24cfa74b3e33364ab355f1fe73845360b0406e
2017-06-30 18:18:20 +02:00
Raphael Amiard
71c98b473b
Q623-030: list_type() -> list
...
Change-Id: Ib446de025d6d44bf4f52d9c63fa86eb16fdd8a26
2017-06-28 18:20:13 +02:00
Raphael Amiard
a6c273cc45
Q623-030: array_type() -> array
...
Change-Id: I05380b08be33b983e7061229bf22d2da05d63ee7
2017-06-28 18:20:13 +02:00
Pierre-Marie de Rodat
6726e6afa7
python-api/ghost_nodes: extend to test qualifier EnumNode
...
TN: Q620-006
2017-06-20 12:50:22 +02:00
Pierre-Marie de Rodat
d967b1b3d2
Remove the root_grammar_class decorator
...
TN: Q606-051
2017-06-14 11:45:44 +02:00
Pierre-Marie de Rodat
3addf6bfd7
Remove support for TypeRepo.EnumNode
...
TN: Q606-051
2017-06-13 16:48:30 +02:00
Pierre-Marie de Rodat
072cc22f75
Enforce Structs to hold only UserField instances: Field is not allowed
...
TN: Q606-051
2017-06-13 10:47:21 +02:00
Pierre-Marie de Rodat
134fa53f8a
Testsuite: replace .compiled_types dependences with langkit.dsl ones
...
TN: Q606-051
2017-06-13 10:47:21 +02:00