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/plugins/javascriptPlugin.js.src.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Provides a shared AST.
Method Summary
Method Attributes Method Name and Description
 
getAST(editorContext)
 
onDestroy(event)
Callback from the orion.edit.model service
 
Callback from the orion.edit.model service
 
Callback from the orion.edit.model service
 
onSaving(event)
Callback from the orion.edit.model service
Class Detail
javascript.ASTManager(esprima)
Provides a shared AST.
Parameters:
{Object} esprima
The esprima parser that this ASTManager will use.
Method Detail
{orion.Promise} getAST(editorContext)
Parameters:
{orion.editor.EditorContext} editorContext
Returns:
{orion.Promise} A promise resolving to the AST.

onDestroy(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

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

onSaving(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 Apr 09 2015 11:11:34 GMT-0400 (EDT)