public class JavaRegExpHost extends java.lang.Object implements RegExpLanguageHost
RegExpLanguageHost.Lookbehind| Modifier and Type | Field and Description |
|---|---|
protected static java.util.EnumSet<RegExpGroup.Type> |
SUPPORTED_NAMED_GROUP_TYPES |
EMPTY_COMPLETION_ITEMS_ARRAY, EMPTY_NAMED_GROUP_TYPES| Constructor and Description |
|---|
JavaRegExpHost() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllPropertyValues, supportsPropertySyntaxprotected static final java.util.EnumSet<RegExpGroup.Type> SUPPORTED_NAMED_GROUP_TYPES
public boolean supportsInlineOptionFlag(char flag,
PsiElement context)
supportsInlineOptionFlag in interface RegExpLanguageHostpublic boolean characterNeedsEscaping(char c)
characterNeedsEscaping in interface RegExpLanguageHostpublic boolean supportsNamedCharacters(RegExpNamedCharacter namedCharacter)
supportsNamedCharacters in interface RegExpLanguageHostpublic boolean supportsPerl5EmbeddedComments()
supportsPerl5EmbeddedComments in interface RegExpLanguageHostpublic boolean supportsPossessiveQuantifiers()
supportsPossessiveQuantifiers in interface RegExpLanguageHostpublic boolean supportsPythonConditionalRefs()
supportsPythonConditionalRefs in interface RegExpLanguageHostpublic boolean supportsNamedGroupSyntax(RegExpGroup group)
supportsNamedGroupSyntax in interface RegExpLanguageHostpublic boolean supportsNamedGroupRefSyntax(RegExpNamedGroupRef ref)
supportsNamedGroupRefSyntax in interface RegExpLanguageHostpublic java.util.EnumSet<RegExpGroup.Type> getSupportedNamedGroupTypes(RegExpElement context)
getSupportedNamedGroupTypes in interface RegExpLanguageHostpublic boolean isValidGroupName(java.lang.String name,
RegExpGroup group)
isValidGroupName in interface RegExpLanguageHostpublic boolean supportsExtendedHexCharacter(RegExpChar regExpChar)
supportsExtendedHexCharacter in interface RegExpLanguageHostpublic boolean supportsBoundary(RegExpBoundary boundary)
supportsBoundary in interface RegExpLanguageHostpublic boolean supportsSimpleClass(RegExpSimpleClass simpleClass)
supportsSimpleClass in interface RegExpLanguageHostpublic boolean supportsLiteralBackspace(RegExpChar aChar)
supportsLiteralBackspace in interface RegExpLanguageHostpublic boolean isValidPropertyName(java.lang.String name)
isValidPropertyName in interface RegExpLanguageHostpublic boolean isValidPropertyValue(java.lang.String propertyName,
java.lang.String value)
isValidPropertyValue in interface RegExpLanguageHostpublic boolean isValidGeneralCategory(java.lang.String value)
public boolean isValidCategory(java.lang.String category)
isValidCategory in interface RegExpLanguageHostpublic boolean isValidNamedCharacter(RegExpNamedCharacter namedCharacter)
isValidNamedCharacter in interface RegExpLanguageHostpublic RegExpLanguageHost.Lookbehind supportsLookbehind(RegExpGroup lookbehindGroup)
supportsLookbehind in interface RegExpLanguageHostpublic java.lang.Integer getQuantifierValue(RegExpNumber number)
getQuantifierValue in interface RegExpLanguageHostnumber - the number element to extract the value frompublic java.lang.String[] [] getAllKnownProperties()
getAllKnownProperties in interface RegExpLanguageHostpublic java.lang.String getPropertyDescription(java.lang.String name)
getPropertyDescription in interface RegExpLanguageHostpublic java.lang.String[] [] getKnownCharacterClasses()
getKnownCharacterClasses in interface RegExpLanguageHost