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/Walker2.js
[gnome.introspection-doc-generator]
/
JSDOC
/
TokenStream.js
diff --git
a/JSDOC/TokenStream.js
b/JSDOC/TokenStream.js
index
e24ca4c
..
7b3328f
100644
(file)
--- a/
JSDOC/TokenStream.js
+++ b/
JSDOC/TokenStream.js
@@
-138,6
+138,7
@@
TokenStream = XObject.define(
/**
* @return {Token|null}
/**
* @return {Token|null}
+ * next token (with white space)
*/
*/
@@
-193,11
+194,11
@@
TokenStream = XObject.define(
var depth = 0;
var got = [];
var started = false;
var depth = 0;
var got = [];
var started = false;
- Seed.print("START:" + start);
- Seed.print("STOP:" + stop);
+
//
Seed.print("START:" + start);
+
//
Seed.print("STOP:" + stop);
while ((token = this.look())) {
if (token.is(start)) {
while ((token = this.look())) {
if (token.is(start)) {
- Seed.print("balance: START : " + depth + " " + token.data);
+
//
Seed.print("balance: START : " + depth + " " + token.data);
depth++;
started = true;
}
depth++;
started = true;
}
@@
-208,7
+209,7
@@
TokenStream = XObject.define(
if (token.is(stop)) {
depth--;
if (token.is(stop)) {
depth--;
- Seed.print("balance: STOP: " + depth + " " + token.data);
+
//
Seed.print("balance: STOP: " + depth + " " + token.data);
if (depth < 1) return got;
}
if (!this.next()) break;
if (depth < 1) return got;
}
if (!this.next()) break;