[Pydev-cvs] org.python.pydev.parser/src/org/python/pydev/parser/visitors/scope OutlineCreatorVisit
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-06-11 20:04:20
|
Update of /cvsroot/pydev/org.python.pydev.parser/src/org/python/pydev/parser/visitors/scope In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23023/src/org/python/pydev/parser/visitors/scope Modified Files: OutlineCreatorVisitor.java Log Message: Index: OutlineCreatorVisitor.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.parser/src/org/python/pydev/parser/visitors/scope/OutlineCreatorVisitor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** OutlineCreatorVisitor.java 10 Jun 2006 18:43:19 -0000 1.1 --- OutlineCreatorVisitor.java 11 Jun 2006 20:04:00 -0000 1.2 *************** *** 10,13 **** --- 10,15 ---- import org.python.pydev.parser.jython.ast.Assign; import org.python.pydev.parser.jython.ast.FunctionDef; + import org.python.pydev.parser.jython.ast.Import; + import org.python.pydev.parser.jython.ast.ImportFrom; import org.python.pydev.parser.jython.ast.commentType; *************** *** 30,33 **** --- 32,36 ---- private boolean isInAssign; + @Override *************** *** 44,48 **** checkSpecials(node.specialsAfter); } ! @Override public Object visitAssign(Assign node) throws Exception { --- 47,67 ---- checkSpecials(node.specialsAfter); } ! ! /** ! * @see org.python.pydev.parser.jython.ast.VisitorBase#visitImport(org.python.pydev.parser.jython.ast.Import) ! */ ! public Object visitImport(Import node) throws Exception { ! atomic(node); ! return super.visitImport(node); ! } ! ! /** ! * @see org.python.pydev.parser.jython.ast.VisitorBase#visitImportFrom(org.python.pydev.parser.jython.ast.ImportFrom) ! */ ! public Object visitImportFrom(ImportFrom node) throws Exception { ! atomic(node); ! return super.visitImportFrom(node); ! } ! @Override public Object visitAssign(Assign node) throws Exception { |