Packages

c

laika.directive.Blocks

DirectiveInstance

case class DirectiveInstance(directive: Option[Blocks.Directive], parsedResult: ParsedDirective, parser: RecursiveParsers, source: SourceFragment, rewriteRules: RewriteRules = RewriteRules.empty, options: Options = NoOpt) extends Element with BlockResolver with RewritableContainer with DirectiveInstanceBase with Product with Serializable

Linear Supertypes
Blocks.DirectiveInstanceBase, Blocks.DirectiveProcessor, RewritableContainer, BlockResolver, Unresolved, Block, Element, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DirectiveInstance
  2. DirectiveInstanceBase
  3. DirectiveProcessor
  4. RewritableContainer
  5. BlockResolver
  6. Unresolved
  7. Block
  8. Element
  9. Serializable
  10. Serializable
  11. Product
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DirectiveInstance(directive: Option[Blocks.Directive], parsedResult: ParsedDirective, parser: RecursiveParsers, source: SourceFragment, rewriteRules: RewriteRules = RewriteRules.empty, options: Options = NoOpt)

Type Members

  1. type Self = DirectiveInstance
    Definition Classes
    DirectiveInstanceRewritableContainerBlockElement

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def createInvalidElement(message: String): Block
    Definition Classes
    DirectiveInstance → DirectiveInstanceBase
  7. val directive: Option[Blocks.Directive]
    Definition Classes
    DirectiveInstance → DirectiveInstanceBase
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hasId: Boolean

    Indicates whether this element has an id assigned.

    Indicates whether this element has an id assigned.

    Definition Classes
    Element
  11. def hasStyle(name: String): Boolean

    Indicates whether this element has the specified style assigned.

    Indicates whether this element has the specified style assigned.

    Definition Classes
    Element
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mergeOptions(opt: Options): Self

    Returns a new instance of this element with its options merged with the specified options.

    Returns a new instance of this element with its options merged with the specified options.

    Definition Classes
    Element
  14. def modifyOptions(f: (Options) ⇒ Options): Self

    Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.

    Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.

    Definition Classes
    Element
  15. def name: String
    Definition Classes
    DirectiveProcessor
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val options: Options
    Definition Classes
    DirectiveInstance → DirectiveInstanceBase → Element
  20. val parsedResult: ParsedDirective
    Definition Classes
    DirectiveInstance → DirectiveProcessor
  21. val parser: RecursiveParsers
    Definition Classes
    DirectiveInstance → DirectiveInstanceBase
  22. def process[T](cursor: DocumentCursor, factory: Option[(Blocks.DirectiveContent) ⇒ Blocks.Result[T]]): Blocks.Result[T]
    Definition Classes
    DirectiveProcessor
  23. def resolve(cursor: DocumentCursor): Block
    Definition Classes
    DirectiveInstance → DirectiveInstanceBase → BlockResolver
  24. def rewriteChildren(rules: RewriteRules): DirectiveInstance

    Rewrites all children of this container based on the specified rules.

    Rewrites all children of this container based on the specified rules.

    Concrete types are expected to support rewriting at least for all standard block, span and template span elements they contain, plus optionally for any other elements that have custom support for rewriting.

    Definition Classes
    DirectiveInstanceRewritableContainer
  25. val rewriteRules: RewriteRules
  26. def rewriteSpans(rule: RewriteRule[Span]): Self

    Rewrites all span children of this container based on the specified rules.

    Rewrites all span children of this container based on the specified rules.

    Concrete types are expected to support rewriting at least for all standard block, span and template span elements they contain, plus optionally for any other elements that have custom support for rewriting.

    Definition Classes
    RewritableContainer
  27. def runsIn(phase: RewritePhase): Boolean
    Definition Classes
    DirectiveInstanceBase
  28. val source: SourceFragment

    The fragment from the input source that produced this element.

    The fragment from the input source that produced this element. Can be used to report the line of the error or to render a fallback that simply renders back the consumed input.

    Definition Classes
    DirectiveInstance → DirectiveInstanceBase → Unresolved
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. val typeName: String
    Definition Classes
    DirectiveInstance → DirectiveProcessor
  31. lazy val unresolvedMessage: String

    An error message to display when this element remains unresolved until after the final AST transformation step.

    An error message to display when this element remains unresolved until after the final AST transformation step.

    Definition Classes
    DirectiveInstanceUnresolved
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withId(id: String): Self

    Returns a new instance of this element with its id set to the specified value, overriding any existing value.

    Returns a new instance of this element with its id set to the specified value, overriding any existing value.

    Definition Classes
    Element
  36. def withOptions(options: Options): DirectiveInstance

    Returns a new instance of this element with the specified options replacing the current value.

    Returns a new instance of this element with the specified options replacing the current value.

    Definition Classes
    DirectiveInstanceElement
  37. def withStyle(name: String): Self

    Returns a new instance of this element with the specified style added to its existing styles.

    Returns a new instance of this element with the specified style added to its existing styles.

    Definition Classes
    Element
  38. def withStyles(styles: Iterable[String]): Self

    Returns a new instance of this element with the specified styles added to its existing styles.

    Returns a new instance of this element with the specified styles added to its existing styles.

    Definition Classes
    Element
  39. def withStyles(style: String, styles: String*): Self

    Returns a new instance of this element with the specified styles added to its existing styles.

    Returns a new instance of this element with the specified styles added to its existing styles.

    Definition Classes
    Element
  40. def withoutId: Self

    Returns a new instance of this element without its id.

    Returns a new instance of this element without its id.

    Definition Classes
    Element

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Blocks.DirectiveInstanceBase

Inherited from Blocks.DirectiveProcessor

Inherited from RewritableContainer

Inherited from BlockResolver

Inherited from Unresolved

Inherited from Block

Inherited from Element

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped