Merge pull request #5 from dloverin/cleanup-esprima

Remove espirma and related scope info code
This commit is contained in:
Erik Tierney committed 2013-03-29 13:28:17 -07:00
commit 08f356c649
7 files changed
+14 -4635

No files matched your search

@@ -43,22 +43,6 @@ define(function (require, exports, module) {
this.ternHints = [];
}
/**
* Update the scope information assocated with the current session
*
* @param {Object} scopeInfo - scope information, including the scope and
* lists of identifiers, globals, literals and properties, and a set
* of associations
*/
Session.prototype.setScopeInfo = function (scopeInfo) {
this.scope = scopeInfo.scope;
this.identifiers = scopeInfo.identifiers;
this.globals = scopeInfo.globals;
this.literals = scopeInfo.literals;
this.properties = scopeInfo.properties;
this.associations = scopeInfo.associations;
};
/**
* Get the name of the file associated with the current session
*