projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f494700
)
JSDOC/ScopeParser.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:22:46 +0000
(16:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:22:46 +0000
(16:22 +0800)
JSDOC/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.vala
b/JSDOC/ScopeParser.vala
index
724d18e
..
8270cf3
100644
(file)
--- a/
JSDOC/ScopeParser.vala
+++ b/
JSDOC/ScopeParser.vala
@@
-21,7
+21,7
@@
namespace JSDOC {
ScopeParserMode mode;
//braceNesting : 0,
Gee.HashMap<int,Scope> indexedScopes;
ScopeParserMode mode;
//braceNesting : 0,
Gee.HashMap<int,Scope> indexedScopes;
- //munge: true,
+ bool munge = true;
@@
-132,13
+132,15
@@
namespace JSDOC {
this.indexedScopes = new Gee.HashMap<int,Scope>();
this.indexedScopes.set(0, this.globalScope );
this.indexedScopes = new Gee.HashMap<int,Scope>();
this.indexedScopes.set(0, this.globalScope );
- this.mode = 'BUILDING_SYMBOL_TREE';
+ this.mode = ScopeParserMode.BUILDING_SYMBOL_TREE;
+
this.parseScope(this.globalScope);
//print("---------------END PASS 1 ---------------- ");
this.parseScope(this.globalScope);
//print("---------------END PASS 1 ---------------- ");
- },
- mungeSymboltree : function()
+ }
+
+ void mungeSymboltree()
{
if (!this.munge) {
{
if (!this.munge) {