Module aya.cli.impl

Class HighlightsCollector

java.lang.Object
org.aya.cli.literate.HighlightsCollector
All Implemented Interfaces:
Consumer<org.aya.concrete.remark.Literate>, org.aya.concrete.remark.LiterateConsumer

public class HighlightsCollector extends Object implements org.aya.concrete.remark.LiterateConsumer
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.aya.concrete.remark.LiterateConsumer

    org.aya.concrete.remark.LiterateConsumer.AyaCodeBlocks, org.aya.concrete.remark.LiterateConsumer.Codes, org.aya.concrete.remark.LiterateConsumer.LiterateExtractinator<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final @NotNull kala.collection.immutable.ImmutableSeq<HighlightInfo>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HighlightsCollector(@NotNull kala.collection.immutable.ImmutableSeq<HighlightInfo> highlights, @NotNull org.aya.util.prettier.PrettierOptions options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(@NotNull org.aya.concrete.remark.Literate literate)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Field Details

    • highlights

      @NotNull public final @NotNull kala.collection.immutable.ImmutableSeq<HighlightInfo> highlights
  • Constructor Details

    • HighlightsCollector

      public HighlightsCollector(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<HighlightInfo> highlights, @NotNull @NotNull org.aya.util.prettier.PrettierOptions options)
  • Method Details

    • accept

      public void accept(@NotNull @NotNull org.aya.concrete.remark.Literate literate)
      Specified by:
      accept in interface Consumer<org.aya.concrete.remark.Literate>
      Specified by:
      accept in interface org.aya.concrete.remark.LiterateConsumer