Skip to content

Commit 86753fe

Browse files
author
Kapil Borle
committed
Add xml documentation to a public method
1 parent ce741d1 commit 86753fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PowerShellEditorServices/Language/AstOperations.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ static public IEnumerable<SymbolReference> FindSymbolsInDocument(Ast scriptAst,
259259
return symbolReferences;
260260
}
261261

262+
/// <summary>
263+
/// Checks if a given ast represents the root node of a *.psd1 file.
264+
/// </summary>
265+
/// <param name="scriptAst">The abstract syntax tree of the given script</param>
266+
/// <returns>true if the AST represts a *.psd1 file, otherwise false</returns>
262267
static public bool IsPowerShellDataFileAst(Ast ast)
263268
{
264269
// sometimes we don't have reliable access to the filename

0 commit comments

Comments
 (0)