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
9f4dfc0
..
ee146c2
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..
*
@@
-31,7
+31,7
@@
Parser = {
if (this.conf.loaded) {
return;
}
if (this.conf.loaded) {
return;
}
- print("init parser conf!?");
+
//
print("init parser conf!?");
this.conf = {
loaded : true,
//ignoreCode: Options.n,
this.conf = {
loaded : true,
//ignoreCode: Options.n,
@@
-71,6
+71,7
@@
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.buildSymbolTree();
this.walker = new Walker2(ts);
this.walker.buildSymbolTree();
@@
-78,12
+79,12
@@
Parser = {
//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));
+
//
print(JSON.stringify(symbol, null,4));
if (!symbol) continue;
if (!symbol) continue;
@@
-122,7
+123,7
@@
Parser = {
addSymbol: function(symbol)
{
addSymbol: function(symbol)
{
- print("PARSER addSYMBOL : " + symbol.alias);
+
//
print("PARSER addSYMBOL : " + symbol.alias);
// if a symbol alias is documented more than once the last one with the user docs wins
if (this.symbols.hasSymbol(symbol.alias)) {
// if a symbol alias is documented more than once the last one with the user docs wins
if (this.symbols.hasSymbol(symbol.alias)) {