|
Class: JavaScriptCompletionEngine
Object
|
+--JavaScriptCompletionEngine
- Package:
- stx:libjavascript
- Category:
- Languages-JavaScript-Compiling & Parsing
- Version:
- rev:
1.13
date: 2018/04/26 13:28:41
- user: cg
- file: JavaScriptCompletionEngine.st directory: libjavascript
- module: stx stc-classLibrary: libjavascript
accessing
-
klass
-
completion
-
completeForMethod: methodOrNil class: classOrNil context: contextOrNil codeView: codeViewArg into: actionBlock
-
Transcript showCR:'JS completion: error while parsing ignored'.
private-completion
-
completeGlobalVariables
-
First, globals starting with typed prefix
-
completeLocalVariables
-
Make those starting with typed prefix first in the list.
-
completeMessage
-
Now, have to translate selectors from Smalltalk to JavaScript form
-
completeVariable
-
private-helpers
-
classOfNode: aNode
-
when showing possible completions for a message, it is a good idea to know what the reveiver
is.
-
selectorToFunctionName: selector
-
self error: 'Invalid JavaScript function/method name'.
|