Skip to content

Commit d0b3734

Browse files
committed
Improve documentation.
1 parent dfb845d commit d0b3734

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

source/ada/lsp-ada_documentation.ads

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ package LSP.Ada_Documentation is
3737
-- Get all the information needed to produce tooltips (hover and completion
3838
-- requests) for the given declaration.
3939
--
40-
-- @param Name Defining name's node.
40+
-- @param Name Defining name's node.
41+
-- @param Origin AST node at the origin.
4142
-- @param Style
4243
-- Is used by GNATdoc for extracting the associated comments.
4344
-- @param Qualifier_Text

source/ada/lsp-ada_job_contexts.ads

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ package LSP.Ada_Job_Contexts is
161161
Position : LSP.Structures.TextDocumentPositionParams'Class;
162162
Name : out Libadalang.Analysis.Defining_Name;
163163
Origin : out Libadalang.Analysis.Ada_Node);
164+
-- Return the defining name (canonical part) of the entity and AST node at
165+
-- the given location. If an error happened then return No_Defining_Name.
164166

165167
function To_LSP_Location
166168
(Self : in out Ada_Job_Context;

0 commit comments

Comments
 (0)