internal static AccessorNode Accessor(ListNode attributes, IdentNode name, StatementNode body, Symbol s) { AccessorNode res = new AccessorNode(); res.kind = Kind.Accessor; res.start = s.pos; res.end = s.endpos; res.attributes = attributes; res.name = name; res.body = body; return(res); }
internal static AccessorNode Accessor( ListNode attributes, IdentNode name, StatementNode body, Symbol s ) { AccessorNode res = new AccessorNode(); res.kind = Kind.Accessor; res.start = s.pos; res.end = s.endpos; res.attributes = attributes; res.name = name; res.body = body; return res; }