public class XmlStructuralSearchProfile extends StructuralSearchProfile
EP_NAME, PATTERN_PLACEHOLDER
Constructor and Description |
---|
XmlStructuralSearchProfile() |
canBeVarDelimiter, createCodeFragment, createPatternTree, extendMatchOnePsiFile, getAlternativeText, getCodeFragmentText, getContext, getCustomPredicates, getDefaultFileType, getMeaningfulText, getPatternContexts, getPlaceholderVarName, getPresentableElement, getReservedWords, getText, handleNoSubstitution, handleSubstitution, isApplicableConstraint, isApplicableConstraint, isApplicableContextConfiguration, isDocCommentOwner, provideAdditionalReplaceOptions, shouldShowProblem, updateCurrentNode
public void compile(PsiElement[] elements, GlobalCompilingVisitor globalVisitor)
compile
in class StructuralSearchProfile
public PsiElementVisitor createMatchingVisitor(GlobalMatchingVisitor globalVisitor)
createMatchingVisitor
in class StructuralSearchProfile
public boolean isIdentifier(PsiElement element)
isIdentifier
in class StructuralSearchProfile
public java.lang.String getTypedVarString(PsiElement element)
getTypedVarString
in class StructuralSearchProfile
public NodeFilter getLexicalNodesFilter()
getLexicalNodesFilter
in class StructuralSearchProfile
public CompiledPattern createCompiledPattern()
createCompiledPattern
in class StructuralSearchProfile
public boolean isMyLanguage(Language language)
isMyLanguage
in class StructuralSearchProfile
public PsiElement [] createPatternTree(java.lang.String text, PatternTreeContext context, LanguageFileType fileType, Language language, java.lang.String contextId, Project project, boolean physical)
createPatternTree
in class StructuralSearchProfile
public PsiElement extendMatchedByDownUp(PsiElement node)
extendMatchedByDownUp
in class StructuralSearchProfile
public java.lang.Class<? extends TemplateContextType> getTemplateContextTypeClass()
getTemplateContextTypeClass
in class StructuralSearchProfile
public LanguageFileType detectFileType(PsiElement context)
detectFileType
in class StructuralSearchProfile
public void checkSearchPattern(CompiledPattern pattern)
checkSearchPattern
in class StructuralSearchProfile
public void checkReplacementPattern(Project project, ReplaceOptions options)
checkReplacementPattern
in class StructuralSearchProfile
public StructuralReplaceHandler getReplaceHandler(Project project, ReplaceOptions replaceOptions)
getReplaceHandler
in class StructuralSearchProfile
public Configuration[] getPredefinedTemplates()
getPredefinedTemplates
in class StructuralSearchProfile