) {
// ignore test for ( a and ,
- this.ts.nextT(); /// (
- token = this.ts.nextT(); // a
+ this.ts.nextTok(); /// (
+ token = this.ts.nextTok(); // a
scopeName = token.data;
if (this.currentDoc) {
this.addSymbol(scopeName,false,'OBJECT');
}
- this.ts.nextT(); // ,
- this.ts.nextT(); // b
+ this.ts.nextTok(); // ,
+ this.ts.nextTok(); // b
- this.ts.nextT(); // ,
- token = this.ts.nextT(); // {
+ this.ts.nextTok(); // ,
+ token = this.ts.nextTok(); // {
scopeName = fixAlias(scopeName);
this.addSymbol(scopeName,false,'OBJECT');
}
- this.ts.nextT(); /// (
- this.ts.nextT(); // parent
+ this.ts.nextTok(); /// (
+ this.ts.nextTok(); // parent
- this.ts.nextT(); // ,
- token = this.ts.nextT(); // {
+ this.ts.nextTok(); // ,
+ token = this.ts.nextTok(); // {
scopeName = fixAlias(scopeName);
this.ts.lookTok(4).data == '{'
) {
- this.ts.nextT(); /// (
+ this.ts.nextTok(); /// (
//print("GOT : applyIF!");
- token = this.ts.nextT(); // b
+ token = this.ts.nextTok(); // b
scopeName = token.data;
- this.ts.nextT(); /// ,
- this.ts.nextT(); // {
+ this.ts.nextTok(); /// ,
+ this.ts.nextTok(); // {
scopeName = fixAlias(scopeName);
var fnScope = new Scope(this.braceNesting, scope, token.n, scopeName);
this.indexedScopes[this.ts.cursor] = fnScope;
}
- this.ts.nextT(); /// =
- this.ts.nextT(); /// new
- this.ts.nextT(); /// yyy
- this.ts.nextT(); /// (
- this.ts.nextT(); /// {
+ this.ts.nextTok(); /// =
+ this.ts.nextTok(); /// new
+ this.ts.nextTok(); /// yyy
+ this.ts.nextTok(); /// (
+ this.ts.nextTok(); /// {
scopeName = fixAlias(scopeName);
var fnScope = new Scope(this.braceNesting, scope, token.n, scopeName);
) {
scopeName = this.ts.lookTok(-2).data;
this.ts.balanceN('(');
- token = this.ts.nextT(); // should be {
+ token = this.ts.nextTok(); // should be {
//print("FOO=FUNCITON() {}" + this.ts.context() + "\n" + token.toString());
) {
//scopeName = this.ts.look(-3).data;
this.ts.balanceN(Script.TOKlparen);
- token = this.ts.nextT(); // should be {
+ token = this.ts.nextTok(); // should be {
scopeName = fixAlias(scopeName);
var fnScope = new Scope(this.braceNesting, scope, token.n, '$private$');
this.indexedScopes[this.ts.cursor] = fnScope;
//scopeName = this.ts.look(-3).data;
this.ts.balanceN(Script.TOKlparen);
//print(token.toString())
- token = this.ts.nextT(); // should be {
+ token = this.ts.nextTok(); // should be {
//print(token.toString())
scopeName = fixAlias(scopeName);
var fnScope = new Scope(this.braceNesting, scope, token.n, '');
) {
//scopeName = this.ts.look(-3).data;
this.ts.balanceN('(');
- token = this.ts.nextT(); // should be {
+ token = this.ts.nextTok(); // should be {
var fnScope = new Scope(this.braceNesting, scope, token.n, '');
this.indexedScopes[this.ts.cursor] = fnScope;
) {
//scopeName = this.ts.look(-3).data;
this.ts.balanceN('(');
- token = this.ts.nextT(); // should be {
+ token = this.ts.nextTok(); // should be {
var fnScope = new Scope(this.braceNesting, scope, token.n, '$private$');
this.indexedScopes[this.ts.cursor] = fnScope;
//scope = ;