--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/SmallSense__CompletionEngine.st Wed Oct 02 13:37:01 2013 +0100
@@ -0,0 +1,40 @@
+"{ Package: 'jv:smallsense' }"
+
+"{ NameSpace: SmallSense }"
+
+Object subclass:#CompletionEngine
+ instanceVariableNames:'codeView'
+ classVariableNames:''
+ poolDictionaries:''
+ category:'SmallSense-Core'
+!
+
+!CompletionEngine class methodsFor:'testing'!
+
+isAbstract
+ ^ self == CompletionEngine
+
+ "Created: / 02-10-2013 / 13:11:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!CompletionEngine methodsFor:'completion'!
+
+complete
+ "Compute completion for `codeView`, taking all the information
+ from it. Returns a CompletionResult with computed completions"
+
+ ^ self subclassResponsibility
+
+ "Modified (comment): / 02-10-2013 / 13:33:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+completeFor: aCodeView2OrTextEditView
+ "Compute completion for given codeView, taking all the information
+ from it. Returns a CompletionResult with computed completions"
+
+ codeView := aCodeView2OrTextEditView.
+ ^ self complete.
+
+ "Created: / 02-10-2013 / 13:24:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+