code: public static Symbol findIdent(String name, VisitorState state) {
      return findIdent(name, state, KindSelector.VAR);
    }
docs: Finds a variable declaration with the given name that is in scope at the current location.