Class Index | File Index

Classes


Class javascript.ASTManager

Provides a shared AST.
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/astManager.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
javascript.ASTManager(serviceRegistry, servjsProject)
Provides a shared AST.
Method Summary
Method Attributes Method Name and Description
 
getAST(editorContext)
 
Callback from the FileClient
 
Callback from the orion.edit.model service
 
Callback from the orion.edit.model service
Class Detail
javascript.ASTManager(serviceRegistry, servjsProject)
Provides a shared AST.
Parameters:
{?} serviceRegistry
The platform service registry
{?} servjsProject
The backing project context
Method Detail
{orion.Promise} getAST(editorContext)
Parameters:
{orion.editor.EditorContext} editorContext
Returns:
{orion.Promise} A promise resolving to the AST.

onFileChanged(event)
Callback from the FileClient
Parameters:
{Object} event
a Changed event

onInputChanged(event)
Callback from the orion.edit.model service
Parameters:
{Object} event
An orion.edit.model event.
See:
https://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.model

onModelChanging(event)
Callback from the orion.edit.model service
Parameters:
{Object} event
An orion.edit.model event.
See:
https://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.model

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 29 2017 14:37:19 GMT-0400 (EDT)