mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
one-line PyStatementList handles insertion correctly (PY-149)
This commit is contained in:
@@ -63,6 +63,9 @@ public abstract class PyElementGenerator {
|
||||
@NotNull
|
||||
public abstract <T> T createFromText(LanguageLevel langLevel, Class<T> aClass, final String text);
|
||||
|
||||
@NotNull
|
||||
public abstract <T> T createPhysicalFromText(LanguageLevel langLevel, Class<T> aClass, final String text);
|
||||
|
||||
/**
|
||||
* Creates an arbitrary PSI element from text, by creating a bigger construction and then cutting the proper subelement.
|
||||
* Will produce all kinds of exceptions if the path or class would not match the PSI tree.
|
||||
|
||||
Reference in New Issue
Block a user