- case ')': //Token.RP:
- case ']': //Token.RB:
- case '}': //Token.RB:
+ case ")": //Token.RP:
+ case "]": //Token.RB:
+ case "}": //Token.RB:
//print("<< EXIT EXPRESSION");
return;
}
break;
- case 'STRN': // used for object lit detection..
+ case "STRN": // used for object lit detection..
//if (this.mode == 'BUILDING_SYMBOL_TREE')
//print("EXPR-STR:" + JSON.stringify(token, null, 4));
- case 'NAME':
- if (this.mode == 'BUILDING_SYMBOL_TREE') {
+ case "NAME":
+ if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
//print("EXPR-NAME:" + JSON.stringify(token, null, 4));
} else {
//skip '.'
break;
}
- if (symbol == 'this') {
+ if (symbol == "this") {
break;
}
- if (this.mode == 'PASS2_SYMBOL_TREE') {
+ if (this.mode == ScopeParserMode.PASS2_SYMBOL_TREE) {
identifier = this.getIdentifier(symbol, scope, token);
//println("<B>??</B>");