public class PsiFilePattern<T extends PsiFile,Self extends PsiFilePattern<T,Self>> extends PsiElementPattern<T,Self>
Modifier and Type | Class and Description |
---|---|
static class |
PsiFilePattern.Capture<T extends PsiFile> |
Modifier | Constructor and Description |
---|---|
protected |
PsiFilePattern(java.lang.Class<T> aClass) |
protected |
PsiFilePattern(InitialPatternCondition<T> condition) |
Modifier and Type | Method and Description |
---|---|
Self |
withFileType(ElementPattern<? extends FileType> fileTypePattern) |
Self |
withOriginalFile(ElementPattern<? extends T> filePattern) |
Self |
withParentDirectoryName(StringPattern namePattern) |
Self |
withVirtualFile(ElementPattern<? extends VirtualFile> vFilePattern) |
afterLeaf, afterLeaf, afterLeafSkipping, atStartOf, beforeLeaf, beforeLeaf, beforeLeafSkipping, compiled, equalTo, getChildren, getParent, inFile, insideStarting, inVirtualFile, notEmpty, referencing, whitespace, whitespaceCommentEmptyOrError, whitespaceCommentOrError, withElementType, withElementType, withElementType, withFirstNonWhitespaceChild, withLanguage, withLastChildSkipping, withMetaData, withName, withName, withName, withoutText, withoutText, withReference, withText, withText, withTextLength, withTextLengthLongerThan, withTreeParent
afterSibling, afterSiblingSkipping, inside, inside, inside, inside, insideSequence, isFirstAcceptedChild, withAncestor, withChild, withChildren, withFirstChild, withLastChild, withParent, withParent, withParents, withSuperParent, withSuperParent
protected PsiFilePattern(InitialPatternCondition<T> condition)
protected PsiFilePattern(java.lang.Class<T> aClass)
public Self withParentDirectoryName(StringPattern namePattern)
public Self withOriginalFile(ElementPattern<? extends T> filePattern)
public Self withVirtualFile(ElementPattern<? extends VirtualFile> vFilePattern)
public Self withFileType(ElementPattern<? extends FileType> fileTypePattern)