File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,12 @@ for (
212212)
213213 </GetScriptBlock >
214214 </ScriptProperty >
215+ <ScriptProperty >
216+ <Name >IsAssigned</Name >
217+ <GetScriptBlock >
218+ $this.Parent.Parent -is [Management.Automation.Language.AssignmentStatementAST]
219+ </GetScriptBlock >
220+ </ScriptProperty >
215221 <ScriptProperty >
216222 <Name >IsPiped</Name >
217223 <GetScriptBlock >
@@ -290,6 +296,18 @@ $this.Parent.PipelineElements.IndexOf($this)
290296 </ScriptMethod >
291297 </Members >
292298 </Type >
299+ <Type >
300+ <Name >System.Management.Automation.Language.PipelineAST</Name >
301+ <Members >
302+ <ScriptProperty >
303+ <Name >IsAssigned</Name >
304+ <GetScriptBlock >
305+ $this.Parent -is [Management.Automation.Language.AssignmentStatementAST]
306+
307+ </GetScriptBlock >
308+ </ScriptProperty >
309+ </Members >
310+ </Type >
293311 <Type >
294312 <Name >PipeScript</Name >
295313 <Members >
You can’t perform that action at this time.
0 commit comments