JetLabelQualifiedExpression -> JetExpressionWithLabel
JetLabelQualifiedInstanceExpression -> JetInstanceExpressionWithLabel
This commit is contained in:
Svetlana Isakova
2014-05-14 14:23:07 +04:00
parent 9b70ab7d16
commit 07c0d87a8f
17 changed files with 36 additions and 36 deletions
@@ -18,7 +18,7 @@ package org.jetbrains.jet.plugin.highlighter;
import com.intellij.lang.annotation.AnnotationHolder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.JetLabelQualifiedExpression;
import org.jetbrains.jet.lang.psi.JetExpressionWithLabel;
import org.jetbrains.jet.lang.psi.JetPrefixExpression;
import org.jetbrains.jet.lang.psi.JetSimpleNameExpression;
import org.jetbrains.jet.lexer.JetTokens;
@@ -37,7 +37,7 @@ class LabelsHighlightingVisitor extends HighlightingVisitor {
}
@Override
public void visitLabelQualifiedExpression(@NotNull JetLabelQualifiedExpression expression) {
public void visitExpressionWithLabel(@NotNull JetExpressionWithLabel expression) {
JetSimpleNameExpression targetLabel = expression.getTargetLabel();
if (targetLabel != null) {
JetPsiChecker.highlightName(holder, targetLabel, JetHighlightingColors.LABEL);