Ejemplo n.º 1
0
 public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body) : base(extent, label, expression, body)
 {
     if ((expression == null) || (variable == null))
     {
         throw PSTraceSource.NewArgumentNullException((expression == null) ? "expression" : "variablePath");
     }
     this.Flags = flags;
     this.Variable = variable;
     base.SetParent(variable);
 }
Ejemplo n.º 2
0
 public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body) : base(extent, label, expression, body)
 {
     if ((expression == null) || (variable == null))
     {
         throw PSTraceSource.NewArgumentNullException((expression == null) ? "expression" : "variablePath");
     }
     this.Flags    = flags;
     this.Variable = variable;
     base.SetParent(variable);
 }
Ejemplo n.º 3
0
 public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body)
     : base(extent, label, expression, body)
 {
     this.Flags    = flags;
     this.Variable = variable;
 }
Ejemplo n.º 4
0
 public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body)
     : base(extent, label, expression, body)
 {
     this.Flags = flags;
     this.Variable = variable;
 }