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)
 
Callback from the orion.edit.model service
 
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.

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 Fri Oct 30 2015 15:55:43 GMT-0400 (EDT)