Exemple #1
0
        void Attribute(out ASTAttribute attribute)
        {
            string name;
            List<Expression> positional = new List<Expression>();
            List<NamedArgumentExpression> named = new List<NamedArgumentExpression>();
            Location startLocation = la.Location;

            if (la.kind == 130) {
            Get();
            Expect(26);
            }
            Qualident(out name);
            if (la.kind == 37) {
            AttributeArguments(positional, named);
            }
            attribute  = new ASTAttribute(name, positional, named) { StartLocation = startLocation, EndLocation = t.EndLocation };
        }
Exemple #2
0
 public virtual object VisitAttribute(ICSharpCode.NRefactory.VB.Dom.Attribute attribute, object data)
 {
     throw new global::System.NotImplementedException("Attribute");
 }