[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/model Scope.java,1.6,1.7
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2004-09-13 17:12:02
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1125/src/org/python/pydev/editor/model Modified Files: Scope.java Log Message: New code completion. Index: Scope.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/model/Scope.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Scope.java 21 May 2004 18:35:30 -0000 1.6 --- Scope.java 13 Sep 2004 17:11:51 -0000 1.7 *************** *** 75,81 **** void addFunctionDefinition(FunctionNode newDef) { ! if (functions == null) ! functions = new ArrayList(); ! functions.add(newDef); } --- 75,81 ---- void addFunctionDefinition(FunctionNode newDef) { ! if (getFunctions() == null) ! setFunctions(new ArrayList()); ! getFunctions().add(newDef); } *************** *** 192,194 **** --- 192,208 ---- } + /** + * @param functions The functions to set. + */ + public void setFunctions(ArrayList functions) { + this.functions = functions; + } + + /** + * @return Returns the functions. + */ + public ArrayList getFunctions() { + return functions; + } + } |