void (@NotNull Queue<Token> output, int position) { CharSequence lastOpenedName = myCurrentScope.getScopeName(); if (lastOpenedName != null && !lastOpenedName.isEmpty()) { addToken(output, position); } myCurrentScope = myCurrentScope.getParentOrSelf(); }