Beispiel #1
0
        internal static AttributeSectionNode AttributeSection(IdentNode target, ListNode attrs, Symbol s)
        {
            AttributeSectionNode res = new AttributeSectionNode();

            res.kind   = Kind.AttributeSection;
            res.start  = s.pos;
            res.end    = s.endpos;
            res.target = target;
            res.attrs  = attrs;
            return(res);
        }
Beispiel #2
0
 internal static AttributeSectionNode AttributeSection( IdentNode target, ListNode attrs, Symbol s )
 {
     AttributeSectionNode res = new AttributeSectionNode();
     res.kind = Kind.AttributeSection;
     res.start = s.pos;
     res.end = s.endpos;
     res.target = target;
     res.attrs = attrs;
     return res;
 }