Support for typing.NewType (PY-21302)

This commit is contained in:
Elizaveta Shashkova
2018-02-01 14:47:20 +03:00
parent e0a1256b1d
commit 79cc4d9ef4
18 changed files with 487 additions and 59 deletions

View File

@@ -0,0 +1,14 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.psi.stubs;
import com.jetbrains.python.psi.impl.stubs.CustomTargetExpressionStub;
import org.jetbrains.annotations.NotNull;
public interface PyTypingNewTypeStub extends CustomTargetExpressionStub {
@NotNull
String getName();
@NotNull
String getClassType();
}