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 Details

    • BASE_INSTANCE

      public static final com.intellij.lang.Language BASE_INSTANCE
  • Constructor Details

    • LivePreviewLanguage

      protected LivePreviewLanguage(@NotNull @NotNull BnfFile grammarFile)
  • Method Details

    • getDisplayName

      @NotNull public @NotNull String getDisplayName()
      Overrides:
      getDisplayName in class com.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 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)