Bracket = this.$brackets[bracket];         var depth = 0;          var iterator = new TokenIterator(this, position.row, position.column);         var token = iterator.getCurrentToken();         if (!token)             token = iterator.stepForward();         if (!token)             return;                   if (!typeRe){             typeRe = new RegExp(                 "(\\.?" +                 token.type.replace(".", "\\.").replace("