projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JsTemplate/Link.js
[gnome.introspection-doc-generator]
/
JSDOC
/
TokenStream.js
diff --git
a/JSDOC/TokenStream.js
b/JSDOC/TokenStream.js
index
b7e83a0
..
32ce52f
100644
(file)
--- a/
JSDOC/TokenStream.js
+++ b/
JSDOC/TokenStream.js
@@
-9,11
+9,26
@@
console = imports.console.console;
Token = imports.Token.Token;
Lang = imports.Lang.Lang;
Token = imports.Token.Token;
Lang = imports.Lang.Lang;
+
/**
/**
- @constructor
-*/
+ * @class TokenStream
+ *
+ * BC notes:
+ *
+ * nextT => nextTok
+ * lookT => lookTok
+ *
+ */
+
TokenStream = XObject.define(
TokenStream = XObject.define(
+
+ /**
+ * @constructor
+ *
+ *
+ */
+
function(tokens) {
function(tokens) {
@@
-122,8
+137,10
@@
TokenStream = XObject.define(
},
/**
},
/**
- @type JSDOC.Token|JSDOC.Token[]| null!
- */
+ * @return {Token|null}
+ */
+
+
next : function(/**Number*/howMany) {
if (typeof howMany == "undefined") howMany = 1;
if (howMany < 1) return null;
next : function(/**Number*/howMany) {
if (typeof howMany == "undefined") howMany = 1;
if (howMany < 1) return null;