10931094109510961097109810991100
AreaPtg.class, // [A1:B2] AreaPtg.class, // [C3:D4] RangePtg.class, AttrPtg.class // [sum ] ); MemAreaPtg ma = (MemAreaPtg)ptgs[0]; assertEquals(19, ma.getLenRefSubexpression()); }
11621163116411651166116711681169
AreaPtg.class, // [A1:B2] AreaPtg.class, // [C3:D4] RangePtg.class, AttrPtg.class, // [sum ] }); MemAreaPtg ma = (MemAreaPtg)ptgs[0]; assertEquals(19, ma.getLenRefSubexpression()); }
11481149115011511152115311541155
11921193119411951196119711981199
261262263264265266267268269
private static ParseNode augmentWithMemPtg(ParseNode root) { Ptg memPtg; if (needsMemFunc(root)) { memPtg = new MemFuncPtg(root.getEncodedSize()); } else { memPtg = new MemAreaPtg(root.getEncodedSize()); } return new ParseNode(memPtg, root); }
12391240124112421243124412451246