示例#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));
    }
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return AstVisitAction.Continue;
 }
示例#3
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     Diagnostics.Assert(false, "Nothing to generate for a named attribute argument");
     return null;
 }
示例#4
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) { throw PSTraceSource.NewArgumentException("ast"); }
示例#5
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) { return AutomationNull.Value; }
示例#6
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(AutomationNull.Value);
 }
示例#7
0
 public virtual AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return AstVisitAction.Continue;
 }
示例#8
0
 /// <summary/>
 public virtual AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst) => DefaultVisit(namedAttributeArgumentAst);
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(false);
 }
示例#10
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     throw PSTraceSource.NewArgumentException(nameof(namedAttributeArgumentAst));
 }
示例#11
0
 /// <summary/>
 public virtual AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(AstVisitAction.Continue);
 }
示例#12
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst ast)
 {
     return(Check(ast));
 }
示例#13
0
 /// <summary/>
 public virtual object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return(null);
 }
示例#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;
 }
示例#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(); }
示例#19
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     throw new NotImplementedException(); //VisitNamedAttributeArgument(namedAttributeArgumentAst);
 }
示例#20
0
 public override AstVisitAction VisitNamedAttributeArgument(NamedAttributeArgumentAst ast)
 {
     return this.Check(ast);
 }
示例#21
0
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     return false;
 }
 public object VisitNamedAttributeArgument(NamedAttributeArgumentAst namedAttributeArgumentAst)
 {
     throw new NotImplementedException();
 }