Exemplo n.º 1
0
        internal static IndexerNode Indexer(ListNode attributes, ModifiersNode modifiers, TypeNode type, IdentNode name, ListNode formal_params, ListNode accessors, Symbol s)
        {
            IndexerNode res = new IndexerNode();

            res.kind          = Kind.Indexer;
            res.start         = s.pos;
            res.end           = s.endpos;
            res.attributes    = attributes;
            res.modifiers     = modifiers;
            res.type          = type;
            res.name          = name;
            res.formal_params = formal_params;
            res.accessors     = accessors;
            return(res);
        }
Exemplo n.º 2
0
 internal static IndexerNode Indexer( ListNode attributes, ModifiersNode modifiers, TypeNode type, IdentNode name, ListNode formal_params, ListNode accessors, Symbol s )
 {
     IndexerNode res = new IndexerNode();
     res.kind = Kind.Indexer;
     res.start = s.pos;
     res.end = s.endpos;
     res.attributes = attributes;
     res.modifiers = modifiers;
     res.type = type;
     res.name = name;
     res.formal_params = formal_params;
     res.accessors = accessors;
     return res;
 }