Class CalculatorBlockProcessor

java.lang.Object
org.asciidoctor.extension.BaseProcessor
org.asciidoctor.extension.BlockProcessor
network.ike.docs.koncept.CalculatorBlockProcessor
All Implemented Interfaces:
org.asciidoctor.extension.Processor

@Name("calculator") @Contexts(":listing") @ContentModel(":raw") public class CalculatorBlockProcessor extends org.asciidoctor.extension.BlockProcessor
The [calculator] block in the documentation build (dev-calculator-blocks): the method, rendered as what it is and what binds to it, a table of the inputs with the semantic each expects, the domain the equation is valid over, and what the evaluator does when nothing binds. The calculator is defined for the document, so a [calculate] block that follows binds to it. The static projection of the method card the Komet assistant surface renders live.
  • Field Summary

    Fields inherited from class org.asciidoctor.extension.BlockProcessor

    name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    process(org.asciidoctor.ast.StructuralNode parent, org.asciidoctor.extension.Reader reader, Map<String,Object> attributes)
     

    Methods inherited from class org.asciidoctor.extension.BlockProcessor

    getName, setName

    Methods inherited from class org.asciidoctor.extension.BaseProcessor

    createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createDocument, createList, createList, createList, createListItem, createListItem, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createSection, createSection, createSection, createSection, createSection, createTable, createTable, createTableCell, createTableCell, createTableCell, createTableCell, createTableColumn, createTableColumn, createTableRow, getConfig, log, newCursor, newCursor, newCursor, newReader, newReader, newReader, newReader, parseContent, setConfig, unwrap, updateConfig

    Methods inherited from class Object

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

    • CalculatorBlockProcessor

      public CalculatorBlockProcessor()
  • Method Details

    • process

      public Object process(org.asciidoctor.ast.StructuralNode parent, org.asciidoctor.extension.Reader reader, Map<String,Object> attributes)
      Specified by:
      process in class org.asciidoctor.extension.BlockProcessor