Exemplo n.º 1
0
        internal static FieldsDecl Fields(Kind k, ListNode attributes, ModifiersNode modifiers, TypeNode type, ListNode declarators, Symbol s)
        {
            FieldsDecl res = new FieldsDecl();

            res.kind        = k;
            res.start       = s.pos;
            res.end         = s.endpos;
            res.attributes  = attributes;
            res.modifiers   = modifiers;
            res.type        = type;
            res.declarators = declarators;
            return(res);
        }
Exemplo n.º 2
0
 internal static FieldsDecl Fields( Kind k, ListNode attributes, ModifiersNode modifiers, TypeNode type, ListNode declarators, Symbol s )
 {
     FieldsDecl res = new FieldsDecl();
     res.kind = k;
     res.start = s.pos;
     res.end = s.endpos;
     res.attributes = attributes;
     res.modifiers = modifiers;
     res.type = type;
     res.declarators = declarators;
     return res;
 }