Esempio n. 1
0
        internal static ExprAndListNode ExprAndList(Kind k, ExprNode expr, ListNode list, Symbol s)
        {
            ExprAndListNode res = new ExprAndListNode();

            res.kind  = k;
            res.start = s.pos;
            res.end   = s.endpos;
            res.expr  = expr;
            res.list  = list;
            return(res);
        }
Esempio n. 2
0
 internal static ExprAndListNode ExprAndList( Kind k, ExprNode expr, ListNode list, Symbol s )
 {
     ExprAndListNode res = new ExprAndListNode();
     res.kind = k;
     res.start = s.pos;
     res.end = s.endpos;
     res.expr = expr;
     res.list = list;
     return res;
 }