Package org.intellij.grammar.livePreview
Class LivePreviewLanguage
java.lang.Object
java.util.concurrent.atomic.AtomicReference<com.intellij.util.keyFMap.KeyFMap>
com.intellij.openapi.util.UserDataHolderBase
com.intellij.lang.Language
org.intellij.grammar.livePreview.LivePreviewLanguage
- All Implemented Interfaces:
com.intellij.lang.DependentLanguage,com.intellij.openapi.util.UserDataHolder,com.intellij.openapi.util.UserDataHolderEx,Serializable
public class LivePreviewLanguage
extends com.intellij.lang.Language
implements com.intellij.lang.DependentLanguage
- See Also:
-
Field Summary
FieldsFields inherited from class com.intellij.lang.Language
ANY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable LivePreviewLanguagefindInstance(com.intellij.psi.PsiFile psiFile) @NotNull String@Nullable BnfFilegetGrammar(@Nullable com.intellij.openapi.project.Project project) @NotNull List<com.intellij.openapi.editor.Editor>getGrammarEditors(@NotNull com.intellij.openapi.project.Project project) @Nullable com.intellij.openapi.vfs.VirtualFile@NotNull List<com.intellij.openapi.editor.Editor>getPreviewEditors(@NotNull com.intellij.openapi.project.Project project) static @NotNull LivePreviewLanguagenewInstance(com.intellij.psi.PsiFile psiFile) Methods inherited from class com.intellij.lang.Language
findInstance, findInstancesByMimeType, findLanguageByID, findMyFileType, getAssociatedFileType, getBaseLanguage, getDialects, getID, getMimeTypes, getRegisteredLanguages, is, isCaseSensitive, isKindOf, isKindOf, toString, unregisterAllLanguagesIn, unregisterDialect, unregisterLanguage, unregisterLanguageMethods inherited from class com.intellij.openapi.util.UserDataHolderBase
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapMethods inherited from class java.util.concurrent.atomic.AtomicReference
accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
Field Details
-
BASE_INSTANCE
public static final com.intellij.lang.Language BASE_INSTANCE
-
-
Constructor Details
-
LivePreviewLanguage
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classcom.intellij.lang.Language
-
getGrammarFile
@Nullable public @Nullable com.intellij.openapi.vfs.VirtualFile getGrammarFile() -
getGrammar
@Nullable public @Nullable BnfFile getGrammar(@Nullable @Nullable com.intellij.openapi.project.Project project) -
newInstance
-
findInstance
@Nullable public static @Nullable LivePreviewLanguage findInstance(com.intellij.psi.PsiFile psiFile) -
getGrammarEditors
@NotNull public @NotNull List<com.intellij.openapi.editor.Editor> getGrammarEditors(@NotNull @NotNull com.intellij.openapi.project.Project project) -
getPreviewEditors
@NotNull public @NotNull List<com.intellij.openapi.editor.Editor> getPreviewEditors(@NotNull @NotNull com.intellij.openapi.project.Project project)
-