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:
db092bd
)
JSDOC/ScopeParser.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:19:26 +0000
(16:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:19:26 +0000
(16:19 +0800)
JSDOC/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.vala
b/JSDOC/ScopeParser.vala
index
c260b0d
..
cd8471b
100644
(file)
--- a/
JSDOC/ScopeParser.vala
+++ b/
JSDOC/ScopeParser.vala
@@
-12,7
+12,7
@@
namespace JSDOC {
string[] idents;
string[] idents;
- //global : false,
+ Scope global ;
//mode : "", //"BUILDING_SYMBOL_TREE",
//braceNesting : 0,
//indexedScopes : false,
//mode : "", //"BUILDING_SYMBOL_TREE",
//braceNesting : 0,
//indexedScopes : false,
@@
-23,6
+23,8
@@
namespace JSDOC {
public ScopeParser(TokenStream ts) {
this.ts = ts; // {TokenStream}
this.warnings = new Gee.ArrayList<string>();
public ScopeParser(TokenStream ts) {
this.ts = ts; // {TokenStream}
this.warnings = new Gee.ArrayList<string>();
+ this.globalScope = new Scope(-1, false, -1, '');
+
//this.indexedg = {};
//this.timer = new Date() * 1;
this.idents = {
//this.indexedg = {};
//this.timer = new Date() * 1;
this.idents = {
@@
-110,7
+112,7
@@
namespace JSDOC {
-
buildSymbolTree : function
()
+
void buildSymbolTree
()
{
//println("<PRE>");
{
//println("<PRE>");