Class

mdoc.internal.markdown.MdocParserExtension

SiteVariableInjector

Related Doc: package MdocParserExtension

Permalink

class SiteVariableInjector extends LinkRefProcessor

Linear Supertypes
LinkRefProcessor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SiteVariableInjector
  2. LinkRefProcessor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SiteVariableInjector(site: Map[String, String], document: Document)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def adjustInlineText(doc: Document, node: Node): BasedSequence

    Permalink
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  5. def allowDelimiters(chars: BasedSequence, doc: Document, node: Node): Boolean

    Permalink
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createNode(nodeChars: BasedSequence): Node

    Permalink

    Creates a text node with the value of a site variable.

    Creates a text node with the value of a site variable.

    Using PrefixedSubSequence and then removing suffix is the only way I found to simulate replace. Converting from String to BasedSequence via stringToCharSequence does not work because Flexmark's Text only uses the start and end offsets and does not do an in-place replacement of the contents of the returned sequence. These start and end offsets select from the original text, not the modified value that we wanted to insert. Creating a custom node extending ContentNode or CustomNode did not help either.

    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getBracketNestingLevel(): Int

    Permalink
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getWantExclamationPrefix(): Boolean

    Permalink
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isMatch(nodeChars: BasedSequence): Boolean

    Permalink
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def updateNodeElements(document: Document, node: Node): Unit

    Permalink
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LinkRefProcessor

Inherited from AnyRef

Inherited from Any

Ungrouped