Exemple #1
0
        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);
        }
Exemple #2
0
 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;
 }