Ejemplo n.º 1
0
        internal static TypeAndListNode TypeAndList(Kind k, TypeNode type, ListNode list, Symbol s)
        {
            TypeAndListNode res = new TypeAndListNode();

            res.kind  = k;
            res.start = s.pos;
            res.end   = s.endpos;
            res.type  = type;
            res.list  = list;
            return(res);
        }
Ejemplo n.º 2
0
 internal static TypeAndListNode TypeAndList( Kind k, TypeNode type, ListNode list, Symbol s )
 {
     TypeAndListNode res = new TypeAndListNode();
     res.kind = k;
     res.start = s.pos;
     res.end = s.endpos;
     res.type = type;
     res.list = list;
     return res;
 }