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