Пример #1
0
 /// <summary>
 /// Visit named actual parameter expression.
 /// </summary>
 /// <param name="x"></param>
 virtual public void VisitNamedActualParam(NamedActualParam x)
 {
     VisitElement(x.Expression);
 }
Пример #2
0
 /// <summary>
 /// Visit named actual parameter expression.
 /// </summary>
 /// <param name="x"></param>
 virtual public void VisitNamedActualParam(NamedActualParam x)
 {
     VisitElement(x.Expression);
 }
Пример #3
0
            public void Analyze(NamedActualParam/*!*/node, Analyzer/*!*/ analyzer, DType/*!*/ propertiesDeclarer)
            {
                // TODO: Named parameters can target the non-static, public, and read-write fields 
                // or properties of the attribute class

                bool visibility_check;

                if (!propertiesDeclarer.IsUnknown)
                {
                    property = analyzer.ResolveProperty(propertiesDeclarer, node.Name, node.Span, false, null, null, out visibility_check);
                }

                node.expression = node.Expression.Analyze(analyzer, ExInfoFromParent.DefaultExInfo).Literalize();
            }