ipyparser.java
来自「Python Development Environment (Python I」· Java 代码 · 共 53 行
JAVA
53 行
package org.python.pydev.core.parser;
import org.eclipse.jface.text.IDocument;
import org.eclipse.ui.IEditorInput;
/**
* The interface for an IParser
*
* @author Fabio
*/
public interface IPyParser {
/**
* Notifies that a save has occurred (the parser may have to do a reparse when this happens)
*/
void notifySaved();
/**
* Removes a listener from the parser
*/
void removeParseListener(IParserObserver parserObserver);
/**
* Adds a listener from the parser
*/
void addParseListener(IParserObserver parserObserver);
/**
* Disposes this parser (it may no longer be used after this method is called)
*/
void dispose();
/**
* Sets the parameters on the heuristics for doing reparses
*/
void resetTimeoutPreferences(boolean useAnalysisOnlyOnDocSave);
/**
* Sets the document and the input to be used.
*
* @param document this is the document that is used in parses (the parser observes it for
* change notifications)
* @param input this is the input from the editor. Used to get the file for creating markers if needed.
*/
void setDocument(IDocument document, IEditorInput input);
/**
* Schedules a reparse in the parser.
*/
void forceReparse(Object ... argsToReparse);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?