Unvalidated Style Pattern
class UnvalidatedStylePattern(val source: String, val renderingContext: UnvalidatedRenderingContext) : StylePattern
Content copied to clipboard
An unvalidated style pattern.
Author
Todd L Smith
Parameters
source
The source text of the style pattern.
rendering Context
Constructors
Link copied to clipboard
fun UnvalidatedStylePattern(source: String, renderingContext: UnvalidatedRenderingContext)
Content copied to clipboard
Construct an UnvalidatedStylePattern from the specified source text and unvalidated rendering context.
Functions
Link copied to clipboard
fun compareSpecificityTo(other: StylePattern): AbstractNumberDescriptor.Order
Content copied to clipboard
Determine the relative specificity of the receiver and the argument. The relative specificity of two patterns is determined according to the following criteria:
Link copied to clipboard
Validate the receiver against the supplied palette. If validation succeeds, then answer a ValidatedStylePattern that includes the validated source and all attributes of the rendering context.