scope.preventMunging();
},
- string getIdentifier(symbol, scope, token) {
- var identifier;
+ string getIdentifier(string symbol, Scope scope, Token token)
+ {
+ string identifier;
while (scope != null) {
identifier = scope.getIdentifier(symbol, token);
//println("ScopeParser.getIdentgetUsedSymbols("+symbol+")=" + scope.getUsedSymbols().join(','));
- if (identifier) {
+ if (identifier.length) {
return identifier;
}
scope = scope.parent;