示例#1
0
        internal static AssignNode Assign(Kind k, ExprNode dest, ExprNode source, Symbol s)
        {
            AssignNode res = new AssignNode();

            res.kind   = k;
            res.start  = s.pos;
            res.end    = s.endpos;
            res.dest   = dest;
            res.source = source;
            return(res);
        }
示例#2
0
 internal static AssignNode Assign( Kind k, ExprNode dest, ExprNode source, Symbol s )
 {
     AssignNode res = new AssignNode();
     res.kind = k;
     res.start = s.pos;
     res.end = s.endpos;
     res.dest = dest;
     res.source = source;
     return res;
 }