mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
PY-34617 Restore PyIfPartIf, PyIfPartElif interfaces
GitOrigin-RevId: 3283be157d6f030840103fba5b8c7cfcee508e2b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb0973bbfb
commit
4317e0a1ed
@@ -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 {
|
||||
}
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user