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.openapi.util.UserDataHolder,com.intellij.openapi.util.UserDataHolderEx,java.io.Serializable
public class LivePreviewLanguage extends com.intellij.lang.Language- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static com.intellij.lang.LanguageBASE_INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedLivePreviewLanguage(@NotNull BnfFile grammarFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable LivePreviewLanguagefindInstance(com.intellij.psi.PsiFile psiFile)@NotNull java.lang.StringgetDisplayName()@Nullable BnfFilegetGrammar(@Nullable com.intellij.openapi.project.Project project)@NotNull java.util.List<com.intellij.openapi.editor.Editor>getGrammarEditors(@NotNull com.intellij.openapi.project.Project project)@Nullable com.intellij.openapi.vfs.VirtualFilegetGrammarFile()@NotNull java.util.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, unregisterDialect, unregisterLanguage, unregisterLanguages
-
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
-
Methods 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
-
-
-
-
Constructor Detail
-
LivePreviewLanguage
protected LivePreviewLanguage(@NotNull @NotNull BnfFile grammarFile)
-
-
Method Detail
-
getDisplayName
@NotNull public @NotNull java.lang.String 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
@NotNull public static @NotNull LivePreviewLanguage newInstance(com.intellij.psi.PsiFile psiFile)
-
findInstance
@Nullable public static @Nullable LivePreviewLanguage findInstance(com.intellij.psi.PsiFile psiFile)
-
getGrammarEditors
@NotNull public @NotNull java.util.List<com.intellij.openapi.editor.Editor> getGrammarEditors(@NotNull @NotNull com.intellij.openapi.project.Project project)
-
getPreviewEditors
@NotNull public @NotNull java.util.List<com.intellij.openapi.editor.Editor> getPreviewEditors(@NotNull @NotNull com.intellij.openapi.project.Project project)
-
-