Home
last modified time | relevance | path

Searched refs:nChunks (Results 1 – 2 of 2) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/codegen/
DPython3Target.java113 List<Object> nChunks = new ArrayList<Object>(); in postProcessAction() local
119 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
130 nChunks.addAll(splitLines(text)); in postProcessAction()
133 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
141 nChunks.add(ws); in postProcessAction()
144 nChunks.add(chunk); in postProcessAction()
152 int lastChunk = nChunks.size() - 1; in postProcessAction()
154 && nChunks.get(lastChunk) instanceof String in postProcessAction()
155 && ((String)nChunks.get(lastChunk)).trim().length() == 0 ) in postProcessAction()
161 && nChunks.get(firstChunk) instanceof String in postProcessAction()
[all …]
DPythonTarget.java112 List<Object> nChunks = new ArrayList<Object>(); in postProcessAction() local
118 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
129 nChunks.addAll(splitLines(text)); in postProcessAction()
132 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
140 nChunks.add(ws); in postProcessAction()
143 nChunks.add(chunk); in postProcessAction()
151 int lastChunk = nChunks.size() - 1; in postProcessAction()
153 && nChunks.get(lastChunk) instanceof String in postProcessAction()
154 && ((String)nChunks.get(lastChunk)).trim().length() == 0 ) in postProcessAction()
160 && nChunks.get(firstChunk) instanceof String in postProcessAction()
[all …]