PY-34617 Restore PyIfPartIf, PyIfPartElif interfaces

GitOrigin-RevId: 3283be157d6f030840103fba5b8c7cfcee508e2b
This commit is contained in:
Petr
2024-05-22 18:21:44 +02:00
committed by intellij-monorepo-bot
parent fb0973bbfb
commit 4317e0a1ed
4 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.python.psi;
import com.jetbrains.python.ast.PyAstIfPartElif;
public interface PyIfPartElif extends PyAstIfPartElif, PyIfPart {
}

View File

@@ -0,0 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.python.psi;
import com.jetbrains.python.ast.PyAstIfPartIf;
public interface PyIfPartIf extends PyAstIfPartIf, PyIfPart {
}

View File

@@ -2,13 +2,12 @@
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.jetbrains.python.ast.PyAstIfPartElif;
import com.jetbrains.python.psi.PyIfPart;
import com.jetbrains.python.psi.PyIfPartElif;
/**
* PyIfPart that represents an 'elif' part.
*/
public class PyIfPartElifImpl extends PyConditionalStatementPartImpl implements PyAstIfPartElif, PyIfPart {
public class PyIfPartElifImpl extends PyConditionalStatementPartImpl implements PyIfPartElif {
public PyIfPartElifImpl(ASTNode astNode) {
super(astNode);
}

View File

@@ -2,13 +2,12 @@
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.jetbrains.python.ast.PyAstIfPartIf;
import com.jetbrains.python.psi.PyIfPart;
import com.jetbrains.python.psi.PyIfPartIf;
/**
* PyIfPart that represents an 'if' part.
*/
public class PyIfPartIfImpl extends PyConditionalStatementPartImpl implements PyAstIfPartIf, PyIfPart {
public class PyIfPartIfImpl extends PyConditionalStatementPartImpl implements PyIfPartIf {
public PyIfPartIfImpl(ASTNode astNode) {
super(astNode);