summaryrefslogtreecommitdiff
path: root/python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2014-08-19 12:53:10 -0700
committerTor Norbye <tnorbye@google.com>2014-08-19 12:53:10 -0700
commit02cf98d65c798d368fcec43ed64a001d513bdd4f (patch)
treee39e210ab20917b7e5ffdce14a42f5747506eed0 /python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java
parent2e5965e996aad62ab1338b09d54caaf99ff3dd6a (diff)
downloadidea-02cf98d65c798d368fcec43ed64a001d513bdd4f.tar.gz
Snapshot idea/138.1503 from git://git.jetbrains.org/idea/community.git
Change-Id: Ie01af1d8710ec0ff51d90301bda1a18b0b5c0faf
Diffstat (limited to 'python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java')
-rw-r--r--python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java14
1 files changed, 2 insertions, 12 deletions
diff --git a/python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java b/python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java
index ddd02d5310a3..8c69893c62a8 100644
--- a/python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java
+++ b/python/src/com/jetbrains/python/psi/impl/PyElsePartImpl.java
@@ -15,26 +15,16 @@
*/
package com.jetbrains.python.psi.impl;
-import com.jetbrains.python.psi.PyElsePart;
-import com.jetbrains.python.psi.PyStatementList;
-import com.jetbrains.python.PyElementTypes;
import com.intellij.lang.ASTNode;
+import com.jetbrains.python.psi.PyElsePart;
/**
* User: dcheryasov
* Date: Mar 15, 2009 9:40:35 PM
*/
-public class PyElsePartImpl extends PyElementImpl implements PyElsePart {
+public class PyElsePartImpl extends PyStatementPartImpl implements PyElsePart {
public PyElsePartImpl(ASTNode astNode) {
super(astNode);
}
-
- public PyStatementList getStatementList() {
- ASTNode n = getNode().findChildByType(PyElementTypes.STATEMENT_LISTS);
- if (n != null) {
- return (PyStatementList)n.getPsi();
- }
- return null;
- }
}