Module aya.base

Class AyaLiterate.AyaHiddenCodeBlock

java.lang.Object
org.aya.literate.Literate.CodeBlock
org.aya.concrete.remark.AyaLiterate.AyaCodeBlock
org.aya.concrete.remark.AyaLiterate.AyaHiddenCodeBlock
All Implemented Interfaces:
org.aya.literate.Literate, org.aya.pretty.doc.Docile
Enclosing interface:
AyaLiterate

public static final class AyaLiterate.AyaHiddenCodeBlock extends AyaLiterate.AyaCodeBlock
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.aya.literate.Literate

    org.aya.literate.Literate.CodeBlock, org.aya.literate.Literate.HyperLink, org.aya.literate.Literate.Image, org.aya.literate.Literate.InlineCode, org.aya.literate.Literate.List, org.aya.literate.Literate.Many, org.aya.literate.Literate.Math, org.aya.literate.Literate.Raw, org.aya.literate.Literate.Unsupported
  • Field Summary

    Fields inherited from class org.aya.literate.Literate.CodeBlock

    code, highlighted, language, sourcePos
  • Constructor Summary

    Constructors
    Constructor
    Description
    AyaHiddenCodeBlock(@NotNull String language, @NotNull String code, @Nullable org.aya.util.error.SourcePos sourcePos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.aya.pretty.doc.Doc
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AyaHiddenCodeBlock

      public AyaHiddenCodeBlock(@NotNull @NotNull String language, @NotNull @NotNull String code, @Nullable @Nullable org.aya.util.error.SourcePos sourcePos)
  • Method Details

    • toDoc

      @NotNull public @NotNull org.aya.pretty.doc.Doc toDoc()
      Specified by:
      toDoc in interface org.aya.pretty.doc.Docile
      Overrides:
      toDoc in class org.aya.literate.Literate.CodeBlock