projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/ScopeParser.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Parser.js
diff --git
a/JSDOC/Parser.js
b/JSDOC/Parser.js
index
8b88a93
..
6528cc7
100644
(file)
--- a/
JSDOC/Parser.js
+++ b/
JSDOC/Parser.js
@@
-4,7
+4,7
@@
Walker2 = imports.Walker2.Walker2;
Symbol = imports.Symbol.Symbol;
SymbolSet = imports.SymbolSet.SymbolSet;
DocComment = imports.DocComment.DocComment;
Symbol = imports.Symbol.Symbol;
SymbolSet = imports.SymbolSet.SymbolSet;
DocComment = imports.DocComment.DocComment;
-Options = imports.
BuildDoc
s.Options;
+Options = imports.
Option
s.Options;
/**
* Parser is a static instance..
*
/**
* Parser is a static instance..
*
@@
-71,15
+71,21
@@
Parser = {
this.filesSymbols[Symbol.srcFile] = new SymbolSet();
this.filesSymbols[Symbol.srcFile] = new SymbolSet();
+ Options.LOG.inform("Parser - run walker");
this.walker = new Walker2(ts);
this.walker = new Walker2(ts);
- this.walker.buildSymbolTree()
+ this.walker.buildSymbolTree();
+
+
+
//this.walker.walk(ts); // adds to our symbols
// throw "done sym tree";
//this.walker.walk(ts); // adds to our symbols
// throw "done sym tree";
-
+ Options.LOG.inform("Parser - checking symbols");
// filter symbols by option
for (p in this.symbols._index) {
var symbol = this.symbols.getSymbol(p);
// filter symbols by option
for (p in this.symbols._index) {
var symbol = this.symbols.getSymbol(p);
+ print(JSON.stringify(symbol, null,4));
+
if (!symbol) continue;
if (symbol.is("FILE") || symbol.is("GLOBAL")) {
if (!symbol) continue;
if (symbol.is("FILE") || symbol.is("GLOBAL")) {