Packages

o

laika.parse.css

CSSParsers

object CSSParsers

Parsers for the subset of CSS supported by Laika.

Not supported are attribute selectors, pseudo classes, namespaces and media queries.

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

Type Members

  1. sealed abstract class Combinator extends AnyRef

    Represents a combinator between two predicates.

  2. case class Style(name: String, value: String) extends Product with Serializable

    Represents a single style within a style declaration.

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. val combinator: Parser[Combinator]

    Parses a combinator between two predicates.

  7. val comment: Parser[Unit]

    Parses a single CSS comment.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. val predicate: Parser[StylePredicate]

    Parses a single predicate.

  18. val selector: Parser[StyleSelector]

    Parses a single selector.

  19. val selectorGroup: Parser[Seq[StyleSelector]]

    Parses a sequence of selectors, separated by a comma.

  20. val simpleSelectorSequence: Parser[StyleSelector]

    Parses the sub-part of a selector without any combinators, e.g.

    Parses the sub-part of a selector without any combinators, e.g. Paragraph#title.

  21. val style: Parser[Style]

    Parses a single style within a declaration.

  22. lazy val styleDeclarationSet: Parser[Set[StyleDeclaration]]

    Parses an entire set of style declarations.

    Parses an entire set of style declarations. This is the top level parser of this trait.

  23. val styleDeclarations: Parser[Seq[StyleDeclaration]]

    Parses a sequence of style declarations, ignoring any comments.

  24. val styleRefName: Parser[String]

    Parses the name of a style.

    Parses the name of a style. The name must start with a letter, while subsequent characters can be letters, digits or one of the symbols '-' or '_'.

  25. val styleValue: Parser[String]

    Parses the value of a single style, ignoring any comments..

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. val typeSelector: Parser[List[StylePredicate]]

    Parses a single type selector.

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. val wsOrNl: Parser[String]

    Parses horizontal whitespace or newline characters.

  33. object Child extends Combinator with Product with Serializable

    A combinator for an immediate child.

  34. object Descendant extends Combinator with Product with Serializable

    A combinator for a descendant on any nesting level.

Inherited from AnyRef

Inherited from Any

Ungrouped