Jeff Williams 44d9ec6831 new parser infrastructure
consumes ASTs that follow the Mozilla Parser API spec:
https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API

passes all tests on OS X; performance is comparable to previous
version. also includes some miscellaneous cleanup.

remaining issues:
- only Rhino AST builder is supported
- node visitors (old and new) may not be hooked up yet
- circular-reference issues in doclets
- docs are (mostly) missing
- various other TODO comments
2013-06-23 10:18:13 -07:00

17 lines
556 B
JavaScript

/*global describe: true, expect: true, it: true, jasmine: true */
describe("virtual symbols", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/virtual.js');
var found = [
docSet.getByLongname('dimensions'),
docSet.getByLongname('width')
];
it('should document virtual symbols', function() {
expect(found[0].length).toEqual(1);
});
it('should document an undocumented symbol found after a comment for a virtual symbol', function() {
expect(found[1].length).toEqual(1);
});
});