Module aya.base

Class Literate.Code

java.lang.Object
org.aya.concrete.remark.Literate.Code
All Implemented Interfaces:
Literate, org.aya.pretty.doc.Docile
Enclosing interface:
Literate

public static final class Literate.Code extends Object implements Literate
  • Field Details

    • code

      @NotNull public final @NotNull String code
    • sourcePos

      @NotNull public final @NotNull org.aya.util.error.SourcePos sourcePos
    • expr

      @Nullable public @Nullable Expr expr
    • tyckResult

      @Nullable public ExprTycker.Result tyckResult
    • options

      @NotNull public final @NotNull CodeOptions options
  • Constructor Details

    • Code

      public Code(@NotNull @NotNull String code, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull CodeOptions options)
  • Method Details

    • toDoc

      @NotNull public @NotNull org.aya.pretty.doc.Doc toDoc()
      Specified by:
      toDoc in interface org.aya.pretty.doc.Docile