Lines Matching defs:litBuf
1001 ListBuffer<JCLiteral> litBuf = new ListBuffer<>();
1007 needsFolding |= foldIfNeeded(op.rhs, litBuf, opStack, false);
1010 needsFolding |= foldIfNeeded(curr, litBuf, opStack, true);
1027 private boolean foldIfNeeded(JCExpression tree, ListBuffer<JCLiteral> litBuf,
1031 litBuf.prepend(str);
1032 return last && merge(litBuf, opStack);
1034 boolean res = merge(litBuf, opStack);
1035 litBuf.clear();
1041 boolean merge(ListBuffer<JCLiteral> litBuf, ListBuffer<JCExpression> opStack) {
1042 if (litBuf.isEmpty()) {
1044 } else if (litBuf.size() == 1) {
1045 opStack.prepend(litBuf.first());
1048 JCExpression t = F.at(litBuf.first().getStartPosition()).Literal(TypeTag.CLASS,
1049 litBuf.stream().map(lit -> (String)lit.getValue()).collect(Collectors.joining()));
1050 storeEnd(t, litBuf.last().getEndPosition(endPosTable));