Lines Matching refs:l2
58 sameLocation(l1, l2) {
60 if (l1.block_id != undefined && l2.block_id != undefined &&
61 l1.block_id == l2.block_id && l1.node_id === undefined) {
65 if (l1.address != undefined && l1.address == l2.address) {
70 let node2 = l2.node_id;
73 if (l1.pos_start === undefined || l2.pos_start == undefined) {
76 if (l1.pos_start == -1 || l2.pos_start == -1) {
79 if (l1.pos_start < l2.pos_start) {
80 return l1.pos_end > l2.pos_start;
82 return l1.pos_start < l2.pos_end;
86 return l1.node_id == l2.node_id;