check elements in all languages for hover
#WEB-10538 fixed
IDEA-122707 prevent recursion while inferring @BaseScript. We can do this because there is no annotation classes can be declared inside script class
honor ClassHint while processing declarations
only variables are expected while processing code blocks