Commit Graph

1018 Commits

Author SHA1 Message Date
Raphael Amiard
807364fb00 Minor style: Remove useless initialize
Change-Id: Id70e8f59ed4a74f1625eca4c80c2c99b6eae8835
2016-06-14 12:55:55 +02:00
Raphael Amiard
633f4dd7f3 Minor: Doc precisions in public Ada API
Change-Id: I084f576460d16d2ed7f188c8ca5e45b6f194886c
2016-06-14 12:55:55 +02:00
Pierre-Marie de Rodat
ffd73228e3 Python API: make it impossible to create Sloc with negative arguments
Change-Id: I254ddf5078825b32a264566a58e0106bf96176e9
TN: P614-006
2016-06-14 12:41:30 +02:00
Pierre-Marie de Rodat
4b331c1eed Python API: introduce Sloc unwrapping primitive and fix ASTNode.lookup
Change-Id: I8574a9aea6d787aaebc47141b9aac25560455c11
TN: P614-006
2016-06-14 12:40:20 +02:00
Raphael Amiard
a704dfbd98 Minor: add missing copyright notices
Change-Id: Ia7dadf68c4ab732cbff8b0c70bc83c750e7885b3
2016-06-13 15:34:40 +02:00
Raphael Amiard
65a9d64d42 OA27-034: Move Tree traversal iterators to langkit support
And fix the bug in those iterators where the last element was not sent
back.

Change-Id: Id81b3b8a3fe8c141290970a7425c14c78b435ea8
2016-06-13 15:34:40 +02:00
Raphael Amiard
2cabb8ba66 OA27-034: Correct indexing bug in ASTNode.Children
Change-Id: I23286a17e1b7520cc9a29552766b68845c39b302
2016-06-13 15:34:40 +02:00
Raphael Amiard
74c5667033 Minor: fix unused import statements
Change-Id: I09499ee6abbdc46e6c55ac9a55fd06a4d7278e09
2016-06-13 15:34:40 +02:00
Raphael Amiard
8711211959 P602-047: Add some imports for repr extensions
Change-Id: I04a82110fe07de9bdba0506515ecc3c5c7f867d0
2016-06-13 15:34:40 +02:00
Raphael Amiard
d078399177 P602-047: Add extensions to enable adding methods to nodes
Change-Id: I075b087cd3d19c8adb483bcefa51594f13c5efbb
2016-06-13 15:34:39 +02:00
Raphael Amiard
ce5ae98840 P602-047: Add python bindings for Short_Image
Change-Id: I1291d3a9c64ccbcd5be14196baef3ecb05cb3ee6
2016-06-13 15:34:39 +02:00
Raphael Amiard
eab1f719df P602-047: Make Short_Image dispatching
Change-Id: I0cf583ab9c247883833358565030bdcba62d28ad
2016-06-13 15:34:39 +02:00
Raphael Amiard
5eebda3d69 P602-047: Make Short_Image return a Wide_Wide_String
Since it may at some point contain text from nodes.

Change-Id: Ia28a237ebf964e9d72ed1ae5d8cb187dc8f6e82a
2016-06-13 15:34:39 +02:00
Raphael Amiard
f87f6a7250 P602-047: Add a Wrap_Alloc helper to the C API
Change-Id: Ied7d2c53a7bc0b98376b45185f323936a780f64f
2016-06-13 15:34:39 +02:00
Raphael Amiard
a9627ed5f8 P602-047: Add a destroy primitive on C API's text type
Change-Id: I29b909f44fa51902dd29f981bbc4ece6ebd1cbb8
2016-06-13 15:34:39 +02:00
Raphael Amiard
1d716a09ea P602-047: Add an Is_Allocated field to the C api text type
Change-Id: I3b08639c38cde8e9db794d7baed3ce66d9091986
2016-06-13 15:34:39 +02:00
Raphael Amiard
06f3d77f2d Minor style: Remove names on subp's endings in c bindings
Makes the template easier to read.

Change-Id: I23b8944e87d5e247c65196b69660091b88161d92
2016-06-13 15:34:39 +02:00
Raphael Amiard
8c8a933eba Minor doc correction
Change-Id: I89bafe2927282f73e4598a9b6a3469bb2110d244
2016-06-13 15:34:39 +02:00
Raphael Amiard
d66c81752d Minor: Use single quotes in get_name calls
Because it confused highlighting when double quotes were used inside Ada
strings.

Change-Id: If73254275406eff3f209f8a2c5c90efb86edcb1f
2016-06-13 15:34:39 +02:00
Raphael Amiard
0a9212a94b OA27-034: Bind previous/next sibling via built-in fields
Change-Id: If28c0d368f72e7e955ff8c31981386efe20b6d82
2016-06-13 15:34:39 +02:00
Raphael Amiard
680977fa8a OA27-034: Add Previous/Next sibling in Ada
Change-Id: I3f23718f0851737bbc23479827bf7d1041f6dc0a
2016-06-13 15:34:39 +02:00
Raphael Amiard
32a47fd9bd OA27-034: Add better root node repr in python
Change-Id: I0d8184ccc1d821baaccd67ed4c8fc65604a3c9a2
2016-06-11 15:41:04 +02:00
Raphael Amiard
02bdd07e72 OA27-034: Add better SlocRange repr in python
Change-Id: Ifdbe74cf72d78c4278119b7567fb0e82f195581a
2016-06-11 15:41:04 +02:00
Raphael Amiard
f136a6dcfc O413-018: Simplify SolveEquation expr
We can now use BuiltinCallExpr because of the temporaries that have been
introduced.

Change-Id: Ifb6932caab5d103229773d08a86015f705daddcf
2016-06-11 15:41:04 +02:00
Raphael Amiard
d07c9a9178 O413-018: Adalog - Rename I_Relation.Call -> Solve
Change-Id: I0bb1630c23a80cfa578a35876d02aa277e405518
2016-06-11 15:41:04 +02:00