Packages

c

laika.ast

Element

abstract class Element extends Product with Serializable

The base class for all Elements forming the document tree. Usually not extended directly, instead either Span or Block should be picked as the base type for new element types.

All node types have an optional id and zero or more associated styles serving as render hints.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Known Subclasses
Block, BlockContainer, BlockResolver, BlockSequence, BulletList, BulletListItem, Caption, CategorizedCode, Cell, Choice, Citation, CitationLink, CitationReference, CodeBlock, CodeSpan, CodeSpanSequence, Column, Columns, Comment, Container, ContextReference, DecoratedHeader, Definition, DefinitionList, DefinitionListItem, Deleted, DocumentFragment, ElementContainer, EmbeddedConfigValue, EmbeddedRoot, Emphasized, EnumList, EnumListItem, Figure, Footnote, FootnoteDefinition, FootnoteLink, FootnoteReference, ForcedParagraph, GlobalLink, Header, Hidden, Icon, IconGlyph, IconReference, IconStyle, Image, ImageIdReference, ImagePathReference, InlineCode, InlineSVGIcon, Inserted, InternalLinkTarget, Invalid, InvalidBlock, InvalidSpan, LineBreak, Link, LinkAlias, LinkDefinition, LinkIdReference, LinkPathReference, LinkTarget, ListContainer, ListItem, Literal, LiteralBlock, LocalLink, MarkupContextReference, NavigationItem, NavigationList, PageBreak, Paragraph, ParsedLiteralBlock, PathReference, QuotedBlock, RawContent, RawLink, Reference, Reverse, RewritableContainer, RootElement, Row, Rule, RuntimeMessage, SVGSymbolIcon, Section, SectionInfo, SectionNumber, Selection, Span, SpanContainer, SpanLink, SpanResolver, SpanSequence, Strong, Table, TableBody, TableContainer, TableElement, TableHead, TargetFormat, TemplateContextReference, TemplateElement, TemplateRoot, TemplateSpan, TemplateSpanContainer, TemplateSpanSequence, TemplateString, Text, TextContainer, Title, TitledBlock, Unresolved, DirectiveInstance, SeparatorInstance, LinkDirectiveResolver, DirectiveInstance, SeparatorInstance, DirectiveInstance, SeparatorInstance, BreadcrumbBuilder, NavigationBuilderConfig, HTMLBlock, HTMLCharacterReference, HTMLComment, HTMLElement, HTMLEmptyElement, HTMLEndTag, HTMLScriptElement, HTMLSpan, HTMLStartTag, BookmarkTitle, FootnoteBody, Leader, ListItemBody, ListItemLabel, PageNumberCitation, Preamble, Classifier, Contents, CustomizedTextRole, DoctestBlock, Field, FieldList, Include, InterpretedText, Line, LineBlock, LineBlockItem, OptionArgument, OptionList, OptionListItem, ProgramOption, SubstitutionDefinition, SubstitutionReference, ImageResolver
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Element
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Element()

Type Members

  1. abstract type Self <: Element

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def options: Options
  3. abstract def productArity: Int
    Definition Classes
    Product
  4. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  5. abstract def withOptions(options: Options): Self

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

Concrete 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()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hasId: Boolean

    Indicates whether this element has an id assigned.

  11. def hasStyle(name: String): Boolean

    Indicates whether this element has the specified style assigned.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mergeOptions(opt: Options): Self

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

  15. 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.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productIterator: Iterator[Any]
    Definition Classes
    Product
  20. def productPrefix: String
    Definition Classes
    Product
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def withId(id: String): Self

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

  27. def withStyle(name: String): Self

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

  28. def withStyles(styles: Iterable[String]): Self

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

  29. def withStyles(style: String, styles: String*): Self

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

  30. def withoutId: Self

    Returns a new instance of this element without its id.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped