Merge remote-tracking branch 'origin/master'

This commit is contained in:
Ekaterina Tuzova
2012-09-06 11:04:38 -04:00
11 changed files with 99 additions and 17 deletions
@@ -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.