|
38 | 38 | * The new parameter type is infered when only the name is provided.
|
39 | 39 | * The new parameter location is infered from the cursor position.
|
40 | 40 |
|
41 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-subprogram_signature.ads) |
| 41 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-subprogram_signature.ads) |
42 | 42 |
|
43 | 43 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/add_parameter/)
|
44 | 44 |
|
|
50 | 50 | * All subprogram specs are updated.
|
51 | 51 | * Actual parameter is removed from the subprogram calls.
|
52 | 52 |
|
53 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-subprogram_signature-remove_parameter.ads) |
| 53 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-subprogram_signature-remove_parameter.ads) |
54 | 54 |
|
55 | 55 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/remove_parameter)
|
56 | 56 |
|
|
62 | 62 | * All subprogram specs are updated.
|
63 | 63 | * Actual parameter are moved in the subprogram calls when needed.
|
64 | 64 |
|
65 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-subprogram_signature.ads) |
| 65 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-subprogram_signature.ads) |
66 | 66 |
|
67 | 67 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/move_parameter)
|
68 | 68 |
|
|
73 | 73 | * Changes the parameter mode within a subprogram spec.
|
74 | 74 | * All subprogram specs are updated.
|
75 | 75 |
|
76 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-subprogram_signature.ads) |
| 76 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-subprogram_signature.ads) |
77 | 77 |
|
78 | 78 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/change_parameter_mode)
|
79 | 79 |
|
|
85 | 85 | * Only subtype indications with correct syntax are accepted.
|
86 | 86 | * All subprogram specs are updated.
|
87 | 87 |
|
88 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-subprogram_signature-change_parameters_type.ads) |
| 88 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-subprogram_signature-change_parameters_type.ads) |
89 | 89 |
|
90 | 90 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/change_parameter_type)
|
91 | 91 |
|
|
97 | 97 | * Only default value expressions with correct syntax are accepted.
|
98 | 98 | * All subprogram specs are updated.
|
99 | 99 |
|
100 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-subprogram_signature-change_parameters_defualt_value.ads) |
| 100 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-subprogram_signature-change_parameters_default_value.ads) |
101 | 101 |
|
102 | 102 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/change_parameter_default_value)
|
103 | 103 |
|
|
110 | 110 | * Local declarations of for loop and exception handlers are passed to the extracted subprogram as new parameters.
|
111 | 111 | * Extract function is available is the last statment is either an assignment or a return statment.
|
112 | 112 |
|
113 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-extract_subprogram.ads) |
| 113 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-extract_subprogram.ads) |
114 | 114 |
|
115 | 115 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/extract_subprogram)
|
116 | 116 |
|
|
121 | 121 | * Moves a declaration and its dependent declarations to their parent declarative part.
|
122 | 122 | * When pulling up a subprogram, object declaration are not pulled up. Instead, they're added as formal parameters to the subprogram specification and as actual parameters to the subprogram calls.
|
123 | 123 |
|
124 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-pull_up_declaration.ads) |
| 124 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-pull_up_declaration.ads) |
125 | 125 |
|
126 | 126 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/pull_up_declaration)
|
127 | 127 |
|
|
133 | 133 | * Use clauses in the separate subunit are moved to the subprogram's declarative part to avoid namespace collisions.
|
134 | 134 | * .bak is added to the separate subunit source filename.
|
135 | 135 |
|
136 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-suppress_separate.ads) |
| 136 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-suppress_separate.ads) |
137 | 137 |
|
138 | 138 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/suppress_separate)
|
139 | 139 |
|
|
145 | 145 | * All references of the object declaration or expression are replaced by the introduced parameter.
|
146 | 146 | * The user must mannually fix the calls to the subprogram that was refactored by addings the corresponding actual parameter.
|
147 | 147 |
|
148 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-introduce_parameter.ads) |
| 148 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-introduce_parameter.ads) |
149 | 149 |
|
150 | 150 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/introduce_parameter)
|
151 | 151 |
|
|
155 | 155 |
|
156 | 156 | * Replaces a type in the intire project by another type provided by the user.
|
157 | 157 |
|
158 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-replace_type.ads) |
| 158 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-replace_type.ads) |
159 | 159 |
|
160 | 160 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/replace_type)
|
161 | 161 |
|
|
165 | 165 |
|
166 | 166 | * For an unresolved name, suggests all packages that can be imported and prefix to be added so that that the name gets resolved.
|
167 | 167 |
|
168 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor_imports.ads) |
| 168 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-refactor_imports.ads) |
169 | 169 |
|
170 | 170 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/auto_import)
|
171 | 171 |
|
|
175 | 175 |
|
176 | 176 | * Sorts all with and use clauses and their associated pragmas.
|
177 | 177 |
|
178 |
| -[Source](https://github.com/AdaCore/libadalang-tools/blob/master/src/laltools-refactor-sort_dependencies.ads) |
| 178 | +[Source](https://github.com/AdaCore/lal-refactor/blob/main/src/lal_refactor-sort_dependencies.ads) |
179 | 179 |
|
180 | 180 | [Demo Source](../integration/vscode/Code%20Samples/refactoring_demos/sort_dependencies)
|
181 | 181 |
|
|
0 commit comments