Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
281,100
SettingsEditor<Settings> () { // myEditor is null only if disposed return myEditor; }
getEditor
281,101
Settings () { return mySettings; }
getSettings
281,102
String () { return myKey; }
get
281,103
String () { return myDisplayName.get(); }
getDisplayName
281,104
T () { return myKey; }
getKey
281,105
boolean () { return this == BACKGROUND || this == BACKGROUND_WITH_TRANSPARENCY; }
isBackground
281,106
boolean () { return this == FOREGROUND || this == FOREGROUND_WITH_TRANSPARENCY; }
isForeground
281,107
boolean () { return this == FOREGROUND_WITH_TRANSPARENCY || this == BACKGROUND_WITH_TRANSPARENCY; }
isWithTransparency
281,108
Kind () { return myKind; }
getKind
281,109
ColorKey () { return super.getKey(); }
getKey
281,110
ColorSettingsPages () { return ApplicationManager.getApplication().getService(ColorSettingsPages.class); }
getInstance
281,111
TextAttributesKey () { return super.getKey(); }
getKey
281,112
boolean () { return myFile.exists(); }
exists
281,113
File () { return myFile; }
getFile
281,114
Object () { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new RuntimeException(); } }
clone
281,115
DataFlavor () { if (ourFlavor != null) return ourFlavor; try { DataFlavor flavor = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType + ";class=" + RawText.class.getName(), "Raw Text", RawText.class.getClassLoader()); ourFlavor = flavor; return flavor; } catch (NoClassDefFoundError | IllegalArgumentException | ClassNotFoundException ignore) { } return null; }
getDataFlavor
281,116
void () { if (! myEditor.isDisposed()) { EditorFactory.getInstance().releaseEditor(myEditor); } }
dispose
281,117
Document () { return myDocument; }
getDocument
281,118
TextRange () { return myTextRange; }
getTextRange
281,119
boolean (Object o) { if (this == o) return true; if (!(o instanceof DocumentFragment documentFragment)) return false; if (!myDocument.equals(documentFragment.myDocument)) return false; if (!myTextRange.equals(documentFragment.myTextRange)) return false; return true; }
equals
281,120
int () { int result; result = myDocument.hashCode(); result = 29 * result + myTextRange.hashCode(); return result; }
hashCode
281,121
Result (@NotNull Editor editor, @NotNull DataContext dataContext) { return Result.CONTINUE; }
navigateToLineEnd
281,122
EditorCopyPasteHelper () { return ApplicationManager.getApplication().getService(EditorCopyPasteHelper.class); }
getInstance
281,123
void (@NotNull Editor editor) { Transferable transferable = getSelectionTransferable(editor, CopyPasteOptions.DEFAULT); if (transferable != null) CopyPasteManager.getInstance().setContents(transferable); }
copySelectionToClipboard
281,124
int () { return contentLength; }
getContentLength
281,125
void (@NotNull Editor editor) { editor.getCaretModel().runForEachCaret(__ -> deleteSelectedText(editor)); }
deleteSelectedTextForAllCarets
281,126
void (@NotNull Editor editor, int startLine, int endLine) { int caretColumn = editor.getCaretModel().getLogicalPosition().column; editor.getSelectionModel().setBlockSelection(new LogicalPosition(startLine, caretColumn), new LogicalPosition(endLine, caretColumn)); }
zeroWidthBlockSelectionAtCaretColumn
281,127
void (@NotNull Editor editor, @NotNull String str) { typeInStringAtCaretHonorMultipleCarets(editor, str, true, str.length()); }
typeInStringAtCaretHonorMultipleCarets
281,128
void (@NotNull Editor editor, @NotNull String str, int caretShift) { typeInStringAtCaretHonorMultipleCarets(editor, str, true, caretShift); }
typeInStringAtCaretHonorMultipleCarets
281,129
void (@NotNull Editor editor, @NotNull String str, boolean toProcessOverwriteMode) { typeInStringAtCaretHonorMultipleCarets(editor, str, toProcessOverwriteMode, str.length()); }
typeInStringAtCaretHonorMultipleCarets
281,130
void (@NotNull Editor editor, int caretShift) { editor.getCaretModel().runForEachCaret(caret -> caret.moveToOffset(caret.getOffset() + caretShift)); }
moveAllCaretsRelatively
281,131
void (@NotNull Editor editor, int caretShift) { CaretModel caretModel = editor.getCaretModel(); caretModel.moveToOffset(caretModel.getOffset() + caretShift); }
moveCaretRelatively
281,132
List<CaretState> (@NotNull Editor editor, @NotNull LogicalPosition blockStart, @NotNull LogicalPosition blockEnd) { int startLine = Math.max(Math.min(blockStart.line, editor.getDocument().getLineCount() - 1), 0); int endLine = Math.max(Math.min(blockEnd.line, editor.getDocument().getLineCount() - 1), 0); int step = endLine < startLine ? -1 : 1; int count = 1 + Math.abs(endLine - startLine); List<CaretState> caretStates = new LinkedList<>(); boolean hasSelection = false; for (int line = startLine, i = 0; i < count; i++, line += step) { int startColumn = blockStart.column; int endColumn = blockEnd.column; int lineEndOffset = editor.getDocument().getLineEndOffset(line); LogicalPosition lineEndPosition = editor.offsetToLogicalPosition(lineEndOffset); int lineWidth = lineEndPosition.column; if (startColumn > lineWidth && endColumn > lineWidth && !editor.isColumnMode()) { LogicalPosition caretPos = new LogicalPosition(line, Math.min(startColumn, endColumn)); caretStates.add(new CaretState(caretPos, lineEndPosition, lineEndPosition)); } else { LogicalPosition startPos = new LogicalPosition(line, editor.isColumnMode() ? startColumn : Math.min(startColumn, lineWidth)); LogicalPosition endPos = new LogicalPosition(line, editor.isColumnMode() ? endColumn : Math.min(endColumn, lineWidth)); int startOffset = editor.logicalPositionToOffset(startPos); int endOffset = editor.logicalPositionToOffset(endPos); caretStates.add(new CaretState(endPos, startPos, endPos)); hasSelection |= startOffset != endOffset; } } if (hasSelection && !editor.isColumnMode()) { // filtering out lines without selection caretStates.removeIf(state -> Objects.equals(state.getSelectionStart(), state.getSelectionEnd())); } return caretStates; }
calcBlockSelectionState
281,133
boolean (@NotNull Editor editor) { FileDocumentManager.WriteAccessStatus writeAccess = FileDocumentManager.getInstance().requestWritingStatus(editor.getDocument(), editor.getProject()); if (!writeAccess.hasWriteAccess()) { HintManager.getInstance().showInformationHint(editor, writeAccess.getReadOnlyMessage(), writeAccess.getHyperlinkListener()); return false; } return true; }
requestWriting
281,134
boolean (@NotNull Editor editor) { if (!editor.isViewer()) return true; if (ApplicationManager.getApplication().isHeadlessEnvironment() || editor instanceof TextComponentEditor) return false; ReadOnlyHint hint = ObjectUtils.chooseNotNull(READ_ONLY_VIEW_HINT_KEY.get(editor), new ReadOnlyHint(EditorBundle.message("editing.viewer.hint"), null)); HintManager.getInstance().showInformationHint(editor, hint.message, hint.linkListener); return false; }
checkModificationAllowed
281,135
void (@NotNull Editor editor, @Nullable @NlsContexts.HintText String message) { setReadOnlyHint(editor, message, null); }
setReadOnlyHint
281,136
void (@NotNull Editor editor, @Nullable @NlsContexts.HintText String message, @Nullable HyperlinkListener linkListener) { editor.putUserData(READ_ONLY_VIEW_HINT_KEY, message != null ? new ReadOnlyHint(message, linkListener) : null); }
setReadOnlyHint
281,137
record (@NotNull @NlsContexts.HintText String message, @Nullable HyperlinkListener linkListener) { }
ReadOnlyHint
281,138
boolean () { return getHandler().runForAllCarets(); }
runForAllCarets
281,139
boolean (Editor editor, DataContext dataContext) { return getHandler().isEnabled(editor, dataContext); }
isEnabled
281,140
boolean (@NotNull Editor editor, @NotNull Caret caret, DataContext dataContext) { return getHandler().isEnabledForCaret(editor, caret, dataContext); }
isEnabledForCaret
281,141
void (@NotNull Editor editor, @Nullable DataContext dataContext) { getHandler().execute(editor, dataContext); }
execute
281,142
void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { getHandler().doExecute(editor, caret, dataContext); }
doExecute
281,143
boolean (@NotNull Editor editor, DataContext dataContext) { return getHandler().executeInCommand(editor, dataContext); }
executeInCommand
281,144
DocCommandGroupId (@NotNull Editor editor) { return getHandler().getCommandGroupId(editor); }
getCommandGroupId
281,145
List<EditorActionHandlerBean> (@NotNull EditorAction editorAction) { String id = ActionManager.getInstance().getId(editorAction); if (id == null) { return Collections.emptyList(); } List<EditorActionHandlerBean> extensions = EDITOR_ACTION_HANDLER_EP.getExtensionList(); List<EditorActionHandlerBean> result = new ArrayList<>(); for (int i = extensions.size() - 1; i >= 0; i--) { EditorActionHandlerBean handlerBean = extensions.get(i); if (handlerBean.action.equals(id)) { result.add(handlerBean); } } return result; }
getRegisteredHandlers
281,146
ActionUpdateThread () { return ActionUpdateThread.BGT; }
getActionUpdateThread
281,147
void (@NotNull EditorActionHandler newHandler) { myHandler = newHandler; myHandler.setWorksInInjected(isInInjectedContext()); }
doSetupHandler
281,148
void (@NotNull AnActionEvent e) { DataContext dataContext = e.getDataContext(); Editor editor = getEditor(dataContext); if (this instanceof LatencyAwareEditorAction && editor != null) { String actionId = ActionManager.getInstance().getId(this); InputEvent inputEvent = e.getInputEvent(); if (actionId != null && inputEvent != null) { LatencyRecorder.getInstance().recordLatencyAwareAction(editor, actionId, inputEvent.getWhen()); } } actionPerformed(editor, dataContext); }
actionPerformed
281,149
void (final Editor editor, final @NotNull DataContext dataContext) { if (editor == null) return; if (editor.isDisposed()) { VirtualFile file = FileDocumentManager.getInstance().getFile(editor.getDocument()); LOG.error("Action " + this + " invoked on a disposed editor" + (file == null ? "" : " for file " + file)); return; } final EditorActionHandler handler = getHandler(); Runnable command = () -> handler.execute(editor, null, getProjectAwareDataContext(editor, dataContext)); if (!handler.executeInCommand(editor, dataContext)) { command.run(); return; } String commandName = getTemplatePresentation().getText(); if (commandName == null) commandName = ""; CommandProcessor.getInstance().executeCommand(editor.getProject(), command, commandName, handler.getCommandGroupId(editor), UndoConfirmationPolicy.DEFAULT, editor.getDocument()); }
actionPerformed
281,150
void (Editor editor, Presentation presentation, DataContext dataContext) { presentation.setEnabled(getHandler().isEnabled(editor, null, dataContext)); }
update
281,151
void (Editor editor, Presentation presentation, DataContext dataContext) { update(editor, presentation, dataContext); }
updateForKeyboardAccess
281,152
void (@NotNull AnActionEvent e) { if (isInInjectedContext()) { Editor editor = e.getData(CommonDataKeys.HOST_EDITOR); if (editor != null) { for (Caret caret : editor.getCaretModel().getAllCarets()) { if (EditorActionHandler.ensureInjectionUpToDate(caret)) { break; } } } } super.beforeActionPerformedUpdate(e); }
beforeActionPerformedUpdate
281,153
void (@NotNull AnActionEvent e) { Presentation presentation = e.getPresentation(); DataContext dataContext = e.getDataContext(); Editor editor = getEditor(dataContext); if (editor == null) { if (ActionPlaces.isPopupPlace(e.getPlace())) { presentation.setEnabledAndVisible(false); } else { presentation.setEnabled(false); } } else { if (editor.isDisposed()) { LOG.error("Disposed editor in " + dataContext + " for " + this); presentation.setEnabled(false); } else { if (e.getInputEvent() instanceof KeyEvent) { updateForKeyboardAccess(editor, presentation, dataContext); } else { update(editor, presentation, dataContext); } } } }
update
281,154
DataContext (@NotNull Editor editor, @NotNull DataContext original) { if (PROJECT.getData(original) == editor.getProject()) { return original; } return CustomizedDataContext.create(original, dataId -> PROJECT.is(dataId) ? editor.getProject() : null); }
getProjectAwareDataContext
281,155
void (@NotNull PluginDescriptor pluginDescriptor) { this.pluginDescriptor = pluginDescriptor; }
setPluginDescriptor
281,156
CaretSpecificDataContext (@NotNull DataContext delegate, @NotNull Caret caret) { if (delegate instanceof CaretSpecificDataContext && CommonDataKeys.CARET.getData(delegate) == caret) { return (CaretSpecificDataContext)delegate; } return new CaretSpecificDataContext(delegate, caret); }
create
281,157
EditorActionManager () { return ApplicationManager.getApplication().getService(EditorActionManager.class); }
getInstance
281,158
TypedAction () { return ApplicationManager.getApplication().getService(TypedAction.class); }
getInstance
281,159
void () { if (myHandlersLoaded) { return; } myHandlersLoaded = true; EP_NAME.processWithPluginDescriptor((bean, pluginDescriptor) -> { TypedActionHandler handler = getOrCreateHandler(bean, myHandler, pluginDescriptor); if (handler != null) { myHandler = handler; } return Unit.INSTANCE; }); }
ensureHandlersLoaded
281,160
void () { RAW_EP_NAME.processWithPluginDescriptor((bean, pluginDescriptor) -> { TypedActionHandler handler = getOrCreateHandler(bean, myRawHandler, pluginDescriptor); if (handler != null) { myRawHandler = handler; } return Unit.INSTANCE; }); }
loadRawHandlers
281,161
void (@NotNull Editor editor, char charTyped, @NotNull DataContext dataContext) { if (editor.isViewer()) { return; } Document doc = editor.getDocument(); doc.startGuardedBlockChecking(); try { final String str = String.valueOf(charTyped); CommandProcessor.getInstance().setCurrentCommandName(EditorBundle.message("typing.in.editor.command.name")); EditorModificationUtil.typeInStringAtCaretHonorMultipleCarets(editor, str, true); } catch (ReadOnlyFragmentModificationException e) { EditorActionManager.getInstance().getReadonlyFragmentModificationHandler(doc).handle(e); } finally { doc.stopGuardedBlockChecking(); } }
execute
281,162
TypedActionHandler () { ensureHandlersLoaded(); return myHandler; }
getHandler
281,163
TypedActionHandler (@NotNull TypedActionHandler handler) { ensureHandlersLoaded(); TypedActionHandler tmp = myHandler; myHandler = handler; return tmp; }
setupHandler
281,164
TypedActionHandler () { return myRawHandler; }
getRawHandler
281,165
TypedActionHandler (@NotNull TypedActionHandler handler) { TypedActionHandler tmp = myRawHandler; myRawHandler = handler; if (tmp == null) { loadRawHandlers(); } return tmp; }
setupRawHandler
281,166
void (@NotNull Editor editor, char c, @NotNull DataContext context, @NotNull ActionPlan plan) { if (myRawHandler instanceof TypedActionHandlerEx) { ((TypedActionHandlerEx)myRawHandler).beforeExecute(editor, c, context, plan); } }
beforeActionPerformed
281,167
void (final @NotNull Editor editor, final char charTyped, @NotNull DataContext dataContext) { Project project = CommonDataKeys.PROJECT.getData(dataContext); try (var ignored = SlowOperations.startSection(SlowOperations.ACTION_PERFORM)) { FreezeLogger.getInstance().runUnderPerformanceMonitor( project, () -> myRawHandler.execute(editor, charTyped, dataContext) ); } }
actionPerformed
281,168
boolean (Editor editor, final DataContext dataContext) { if (inCheck) { return true; } inCheck = true; try { if (editor == null) { return false; } Editor hostEditor = dataContext == null ? null : CommonDataKeys.HOST_EDITOR.getData(dataContext); if (hostEditor == null) { hostEditor = editor; } final boolean[] result = new boolean[1]; final CaretTask check = (___, __) -> result[0] = true; if (myRunForEachCaret) { hostEditor.getCaretModel().runForEachCaret(caret -> doIfEnabled(caret, dataContext, check)); } else { doIfEnabled(hostEditor.getCaretModel().getCurrentCaret(), dataContext, check); } return result[0]; } finally { inCheck = false; } }
isEnabled
281,169
void (@NotNull Caret hostCaret, @Nullable DataContext context, @NotNull CaretTask task) { DataContext caretContext = context == null ? null : CaretSpecificDataContext.create(context, hostCaret); Editor editor = hostCaret.getEditor(); if (myWorksInInjected && caretContext != null) { DataContext injectedCaretContext = AnActionEvent.getInjectedDataContext(caretContext); Caret injectedCaret = CommonDataKeys.CARET.getData(injectedCaretContext); if (injectedCaret != null && injectedCaret != hostCaret && isEnabledForCaret(injectedCaret.getEditor(), injectedCaret, injectedCaretContext)) { task.perform(injectedCaret, injectedCaretContext); return; } } if (isEnabledForCaret(editor, hostCaret, caretContext)) { task.perform(hostCaret, caretContext); } }
doIfEnabled
281,170
boolean (@NotNull Caret hostCaret) { Editor editor = hostCaret.getEditor(); Project project = editor.getProject(); if (project != null && InjectedLanguageManager.getInstance(project).mightHaveInjectedFragmentAtOffset(editor.getDocument(), hostCaret.getOffset())) { PsiDocumentManager.getInstance(project).commitDocument(editor.getDocument()); return true; } return false; }
ensureInjectionUpToDate
281,171
boolean (@NotNull Editor editor, @NotNull Caret caret, DataContext dataContext) { if (inCheck) { return true; } inCheck = true; try { return isEnabled(editor, dataContext); } finally { inCheck = false; } }
isEnabledForCaret
281,172
boolean (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { return caret == null ? isEnabled(editor, dataContext) : isEnabledForCaret(editor, caret, dataContext); }
isEnabled
281,173
void (@NotNull Editor editor, @Nullable DataContext dataContext) { if (inExecution) { return; } try { inExecution = true; execute(editor, editor.getCaretModel().getCurrentCaret(), dataContext); } finally { inExecution = false; } }
execute
281,174
void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { if (inExecution) { return; } try { inExecution = true; execute(editor, dataContext); } finally { inExecution = false; } }
doExecute
281,175
boolean (@NotNull Editor editor, DataContext dataContext) { return true; }
executeInCommand
281,176
boolean () { return myRunForEachCaret; }
runForAllCarets
281,177
void (@NotNull Editor editor, final @Nullable Caret contextCaret, final DataContext dataContext) { Editor hostEditor = dataContext == null ? null : CommonDataKeys.HOST_EDITOR.getData(dataContext); if (hostEditor == null) { hostEditor = editor; } if (contextCaret == null && runForAllCarets()) { hostEditor.getCaretModel().runForEachCaret(caret -> { if (myWorksInInjected) ensureInjectionUpToDate(caret); doIfEnabled(caret, dataContext, (caret1, dc) -> doExecute(caret1.getEditor(), caret1, dc)); }); } else { if (contextCaret == null) { if (myWorksInInjected) ensureInjectionUpToDate(hostEditor.getCaretModel().getCurrentCaret()); doIfEnabled(hostEditor.getCaretModel().getCurrentCaret(), dataContext, (caret, dc) -> doExecute(caret.getEditor(), null, dc)); } else { doExecute(editor, contextCaret, dataContext); } } }
execute
281,178
DocCommandGroupId (@NotNull Editor editor) { // by default avoid merging two consequential commands, and, in the same time, pass along the Document return DocCommandGroupId.noneGroupId(editor.getDocument()); }
getCommandGroupId
281,179
LatencyRecorder () { return ApplicationManager.getApplication().getService(LatencyRecorder.class); }
getInstance
281,180
void (final @NotNull Editor editor, final @Nullable Caret caret, final DataContext dataContext) { boolean preview = IntentionPreviewUtils.getPreviewEditor() == editor; if (!preview) { if (!EditorModificationUtil.checkModificationAllowed(editor)) return; if (!ApplicationManager.getApplication().isWriteAccessAllowed() && !EditorModificationUtil.requestWriting(editor)) return; } DocumentRunnable runnable = new DocumentRunnable(editor.getDocument(), editor.getProject()) { @Override public void run() { final Document doc = editor.getDocument(); doc.startGuardedBlockChecking(); try { executeWriteAction(editor, caret, dataContext); } catch (ReadOnlyFragmentModificationException e) { EditorActionManager.getInstance().getReadonlyFragmentModificationHandler(doc).handle(e); } finally { doc.stopGuardedBlockChecking(); } } }; if (preview || editor instanceof TextComponentEditor) { runnable.run(); } else { ApplicationManager.getApplication().runWriteAction(runnable); } }
doExecute
281,181
void () { final Document doc = editor.getDocument(); doc.startGuardedBlockChecking(); try { executeWriteAction(editor, caret, dataContext); } catch (ReadOnlyFragmentModificationException e) { EditorActionManager.getInstance().getReadonlyFragmentModificationHandler(doc).handle(e); } finally { doc.stopGuardedBlockChecking(); } }
run
281,182
void (Editor editor, DataContext dataContext) { executeWriteAction(editor, editor.getCaretModel().getCurrentCaret(), dataContext); }
executeWriteAction
281,183
void (@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) { if (inExecution) { return; } try { inExecution = true; executeWriteAction(editor, dataContext); } finally { inExecution = false; } }
executeWriteAction
281,184
Project () { return myProject; }
getProject
281,185
void (int start, int end) { }
repaint
281,186
Document () { return myDocument; }
getDocument
281,187
void (HighlighterIterator iterator, List<? extends TextRange> ranges) { int offset = 0; int index = 0; while (!iterator.atEnd() && index < ranges.size()) { TextRange range = ranges.get(index); if (range.getStartOffset() >= iterator.getEnd()) { iterator.advance(); continue; } if (range.getEndOffset() >= iterator.getStart()) { int relativeStart = Math.max(iterator.getStart() - range.getStartOffset(), 0); int relativeEnd = Math.min(iterator.getEnd() - range.getStartOffset(), range.getLength() + 1); addElement(new Element(offset + relativeStart, offset + relativeEnd, iterator.getTokenType(), iterator.getTextAttributes())); } if (range.getEndOffset() < iterator.getEnd()) { offset += range.getLength() + 1 + myAdditionalOffset; // myAdditionalOffset because of extra line - for shown separators int lastEnd = myPieces.isEmpty() ? -1 : myPieces.get(myPieces.size() - 1).getEnd(); addElement(new Element(Math.max(offset - 1 - myAdditionalOffset, lastEnd), offset, null, TextAttributes.ERASE_MARKER)); index++; continue; } iterator.advance(); } }
translate
281,188
void (@NotNull Element element) { boolean merged = false; if (myMergeByTextAttributes && !myPieces.isEmpty()) { Element oldElement = myPieces.get(myPieces.size() - 1); if (oldElement.getEnd() >= element.getStart() && Comparing.equal(oldElement.getAttributes(), element.getAttributes()) && Comparing.equal(oldElement.getElementType(), element.getElementType())) { merged = true; myPieces.remove(myPieces.size() - 1); myPieces.add(new Element(oldElement.getStart(), element.getEnd(), element.getElementType(), element.getAttributes())); } } if (!merged) { myPieces.add(element); } }
addElement
281,189
HighlighterIterator (int startOffset) { int index = Collections.binarySearch(myPieces, new Element(startOffset, 0, null, null), Comparator.comparingInt(Element::getStart)); // index: (-insertion point - 1), where insertionPoint is the index of the first element greater than the key // and we need index of the first element that is less or equal (floorElement) if (index < 0) index = Math.max(-index - 2, 0); return new ProxyIterator(myDocument, index); }
createIterator
281,190
void (@NotNull HighlighterClient editor) { }
setEditor
281,191
TextAttributes () { return myPieces.get(myIdx).getAttributes(); }
getTextAttributes
281,192
int () { return myPieces.get(myIdx).getStart(); }
getStart
281,193
int () { return myPieces.get(myIdx).getEnd(); }
getEnd
281,194
IElementType () { return myPieces.get(myIdx).myElementType; }
getTokenType
281,195
void () { if (myIdx < myPieces.size()) { myIdx++; } }
advance
281,196
void () { if (myIdx > -1) { myIdx--; } }
retreat
281,197
boolean () { return myIdx < 0 || myIdx >= myPieces.size(); }
atEnd
281,198
Document () { return myDocument; }
getDocument
281,199
int () { return myStart; }
getStart