Skip to content

Commit 7061ae2

Browse files
Kapil Borledaviwil
authored andcommitted
Add xml documentation to a public method
1 parent be909b0 commit 7061ae2

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
@@ -261,6 +261,11 @@ static public IEnumerable<SymbolReference> FindSymbolsInDocument(Ast scriptAst,
261261
return symbolReferences;
262262
}
263263

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

0 commit comments

Comments
 (0)