object CSSParsers
Parsers for the subset of CSS supported by Laika.
Not supported are attribute selectors, pseudo classes, namespaces and media queries.
- Alphabetic
- By Inheritance
- CSSParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed abstract
class
Combinator extends AnyRef
Represents a combinator between two predicates.
-
case class
Style(name: String, value: String) extends Product with Serializable
Represents a single style within a style declaration.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
combinator: Parser[Combinator]
Parses a combinator between two predicates.
-
val
comment: Parser[Unit]
Parses a single CSS comment.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
predicate: Parser[StylePredicate]
Parses a single predicate.
-
val
selector: Parser[StyleSelector]
Parses a single selector.
-
val
selectorGroup: Parser[Seq[StyleSelector]]
Parses a sequence of selectors, separated by a comma.
-
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
. -
val
style: Parser[Style]
Parses a single style within a declaration.
-
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.
-
val
styleDeclarations: Parser[Seq[StyleDeclaration]]
Parses a sequence of style declarations, ignoring any comments.
-
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'_'
. -
val
styleValue: Parser[String]
Parses the value of a single style, ignoring any comments..
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
typeSelector: Parser[List[StylePredicate]]
Parses a single type selector.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
wsOrNl: Parser[String]
Parses horizontal whitespace or newline characters.
-
object
Child extends Combinator with Product with Serializable
A combinator for an immediate child.
-
object
Descendant extends Combinator with Product with Serializable
A combinator for a descendant on any nesting level.