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