Esempio n. 1
0
    public System.Object VisitNamedAttributeArgument(System.Management.Automation.Language.NamedAttributeArgumentAst namedAttributeArgumentAst)
    {
        IScriptExtent mappedExtent = MapExtent(namedAttributeArgumentAst.Extent);

        ExpressionAst mappedArgument = _VisitExpression(namedAttributeArgumentAst.Argument);

        return(new NamedAttributeArgumentAst(mappedExtent, namedAttributeArgumentAst.ArgumentName, mappedArgument, namedAttributeArgumentAst.ExpressionOmitted));
    }
Esempio n. 2
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return AstVisitAction.Continue;
 }
Esempio n. 3
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     Diagnostics.Assert(false, "Nothing to generate for a named attribute argument");
     return null;
 }
Esempio n. 4
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) { throw PSTraceSource.NewArgumentException("ast"); }
Esempio n. 5
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) { return AutomationNull.Value; }
Esempio n. 6
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(AutomationNull.Value);
 }
Esempio n. 7
0
 public virtual AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return AstVisitAction.Continue;
 }
Esempio n. 8
0
 /// <summary/>
 public virtual AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) => DefaultVisit(namedAttributeArgumentAst);
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(false);
 }
Esempio n. 10
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     throw PSTraceSource.NewArgumentException(nameof(namedAttributeArgumentAst));
 }
Esempio n. 11
0
 /// <summary/>
 public virtual AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(AstVisitAction.Continue);
 }
Esempio n. 12
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst ast)
 {
     return(Check(ast));
 }
Esempio n. 13
0
 /// <summary/>
 public virtual object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(null);
 }
Esempio n. 14
0
 /// <summary/>
 public virtual object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) { return null; }
 /// <summary>
 /// Visit named attribute
 /// </summary>
 /// <param name="namedAttributeArgumentAst"></param>
 /// <returns></returns>
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     System.Diagnostics.Debug.Assert(false, "Code is unreachable");
     return null;
 }
Esempio n. 16
0
        public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
        {
            Diagnostics.Assert(FoundError, "VisitAttributedExpression or VisitParameter or VisitParamBlock should have issued an error.");

            return AstVisitAction.Continue;
        }
 /// <summary/>
 public virtual object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return _decorated.VisitNamedAttributeArgument(namedAttributeArgumentAst);
 }
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) { throw new UnexpectedElementException(); }
Esempio n. 19
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     throw new NotImplementedException(); //VisitNamedAttributeArgument(namedAttributeArgumentAst);
 }
Esempio n. 20
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst ast)
 {
     return this.Check(ast);
 }
Esempio n. 21
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return false;
 }
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     throw new NotImplementedException();
 }