[Pydev-cvs] org.python.pydev.core/src/org/python/pydev/core/parser IParserObserver.java, 1.1, 1.2 I
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-09-27 19:57:56
|
Update of /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19948/src/org/python/pydev/core/parser Modified Files: IParserObserver.java IParserObserver2.java Log Message: Synching to latest changes: Pydev <ul> <li><strong>Editor</strong>: Cursor settings no longer overridden</li> <li><strong>Code-completion</strong>: If __all__ is defined with runtime elements (and not only in a single assign statement), it's ignored for code-completion purposes</li> <li><strong>Debugger</strong>: Pythonpath the same in debug and regular modes (sys.path[0] is the same directory as the file run)</li> <li><strong>Debugger</strong>: Persist choices done in the debugger when files from the debugger are not found</li> <li><strong>Interpreter config</strong>: "email" automatically added to the "forced builtins"</li> <li><strong>Parser</strong>: Correctly recognizing absolute import with 3 or more levels</li> <li><strong>Syntax check</strong>: Option to do only on active editor</li> </ul> Also: tabs changed for spaces Index: IParserObserver.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/parser/IParserObserver.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IParserObserver.java 2 Apr 2007 00:19:48 -0000 1.1 --- IParserObserver.java 27 Sep 2008 19:57:36 -0000 1.2 *************** *** 16,36 **** */ public interface IParserObserver { ! ! /** ! * every time document gets parsed, it generates a new parse tree ! * @param root the root of the new AST (abstract syntax tree) ! * @param file the file that has just been analyzed (it may be null) * * It is meant to be an org.eclipse.core.resources.IFile or an * org.eclipse.ui.internal.editors.text.JavaFileEditorInput * ! */ ! void parserChanged(ISimpleNode root, IAdaptable file, IDocument doc); ! ! /** ! * if parse generates an error, you'll get this event ! * the exception class will be ParseException, or TokenMgrError ! * @param file the file that has just been analyzed (it may be null) ! */ ! void parserError(Throwable error, IAdaptable file, IDocument doc); } --- 16,36 ---- */ public interface IParserObserver { ! ! /** ! * every time document gets parsed, it generates a new parse tree ! * @param root the root of the new AST (abstract syntax tree) ! * @param file the file that has just been analyzed (it may be null) * * It is meant to be an org.eclipse.core.resources.IFile or an * org.eclipse.ui.internal.editors.text.JavaFileEditorInput * ! */ ! void parserChanged(ISimpleNode root, IAdaptable file, IDocument doc); ! ! /** ! * if parse generates an error, you'll get this event ! * the exception class will be ParseException, or TokenMgrError ! * @param file the file that has just been analyzed (it may be null) ! */ ! void parserError(Throwable error, IAdaptable file, IDocument doc); } Index: IParserObserver2.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/parser/IParserObserver2.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IParserObserver2.java 2 Apr 2007 00:19:48 -0000 1.1 --- IParserObserver2.java 27 Sep 2008 19:57:36 -0000 1.2 *************** *** 6,18 **** public interface IParserObserver2 { ! /** * Has the argsToReparse additional Parameter ! */ ! void parserChanged(ISimpleNode root, IAdaptable file, IDocument doc, Object ... argsToReparse); ! ! /** ! * Has the argsToReparse additional Parameter ! */ ! void parserError(Throwable error, IAdaptable file, IDocument doc, Object ... argsToReparse); } --- 6,18 ---- public interface IParserObserver2 { ! /** * Has the argsToReparse additional Parameter ! */ ! void parserChanged(ISimpleNode root, IAdaptable file, IDocument doc, Object ... argsToReparse); ! ! /** ! * Has the argsToReparse additional Parameter ! */ ! void parserError(Throwable error, IAdaptable file, IDocument doc, Object ... argsToReparse); } |