lampclaw/moonstyle/ir does not have a README file

    AnimationName

    pub(all) struct AnimationName {
    keyframes : Keyframes
    } derive(Eq,
    Debug
    )

    AnimationName::equal

    AnimationName::not_equal

    fn AnimationName::not_equal(x : AnimationName, y : AnimationName) -> Bool

    AttributeCase

    pub(all) enum AttributeCase {
    DefaultCase
    Insensitive
    Sensitive
    } derive(Eq,
    Debug
    )

    AttributeCase::equal

    AttributeCase::not_equal

    fn AttributeCase::not_equal(x : AttributeCase, y : AttributeCase) -> Bool

    AttributeOperator

    pub(all) enum AttributeOperator {
    Present
    Equals
    IncludesWord
    DashPrefix
    Prefix
    Suffix
    Substring
    } derive(Eq,
    Debug
    )

    AttributeOperator::equal

    AttributeOperator::not_equal

    fn AttributeOperator::not_equal(x : AttributeOperator, y : AttributeOperator) -> Bool

    AttributeSelector

    pub(all) struct AttributeSelector {
    name : String
    operator : AttributeOperator
    value : String
    case_mode : AttributeCase
    } derive(Eq,
    Debug
    )

    AttributeSelector::equal

    AttributeSelector::not_equal

    fn AttributeSelector::not_equal(x : AttributeSelector, y : AttributeSelector) -> Bool

    Condition

    pub(all) enum Condition {
    Pseudo(PseudoClass)
    PseudoElement(PseudoElement)
    UnsafePseudo(String)
    UnsafePseudoElement(String)
    UnsafeAtRule(String)
    Media(MediaQuery)
    Supports(SupportsCondition)
    Container(ContainerQuery)
    ContainerStyle(ContainerStyleCondition)
    Relational(SelectorMarkerRef, MarkerRelation)
    Layer(String)
    } derive(Eq,
    Debug
    )

    Condition::equal

    fn Condition::equal(Condition, Condition) -> Bool

    Condition::not_equal

    fn Condition::not_equal(x : Condition, y : Condition) -> Bool

    ContainerQuery

    pub(all) struct ContainerQuery {
    name : String?
    features : Array[MediaFeature]
    } derive(Eq,
    Debug
    )

    ContainerQuery::equal

    ContainerQuery::not_equal

    fn ContainerQuery::not_equal(x : ContainerQuery, y : ContainerQuery) -> Bool

    ContainerStyleCondition

    pub(all) enum ContainerStyleCondition {
    StyleEquals(
    VariableUse
    , String)
    StyleNot(ContainerStyleCondition)
    StyleAll(Array[ContainerStyleCondition])
    StyleAny(Array[ContainerStyleCondition])
    } derive(Eq,
    Debug
    )

    ContainerStyleCondition::equal

    ContainerStyleCondition::not_equal

    ContractProperty

    pub(all) struct ContractProperty {
    name : String
    policy : ContractValuePolicy
    } derive(Eq,
    Debug
    )

    ContractProperty::equal

    ContractProperty::not_equal

    fn ContractProperty::not_equal(x : ContractProperty, y : ContractProperty) -> Bool

    ContractValuePolicy

    pub(all) enum ContractValuePolicy {
    AnySafe
    Exact(Array[String], Array[ContractVariable], Array[ContractVariable], Array[String])
    } derive(Eq,
    Debug
    )

    ContractValuePolicy::equal

    ContractValuePolicy::not_equal

    ContractVariable

    pub(all) struct ContractVariable {
    variable : String
    category : String
    } derive(Eq,
    Debug
    )

    Canonical identity for a token or dynamic slot admitted by a component contract. The custom-property name is the cross-package identity; category prevents a value channel from being reused through an incompatible type.

    ContractVariable::equal

    ContractVariable::not_equal

    fn ContractVariable::not_equal(x : ContractVariable, y : ContractVariable) -> Bool

    Declaration

    pub(all) struct Declaration {
    property : String
    atomic_properties : Array[String]
    unsafe_raw : Bool
    value : StyleValue
    value_origin : DeclarationValueOrigin
    conditions : Array[Condition]
    source : SourceSpan?
    keyframe_allowed : Bool
    } derive(Eq,
    Debug
    )

    Declaration::equal

    fn Declaration::equal(Declaration, Declaration) -> Bool

    Declaration::not_equal

    fn Declaration::not_equal(x : Declaration, y : Declaration) -> Bool

    Declaration::with_source

    fn Declaration::with_source(self : Declaration, source : SourceSpan) -> Declaration

    DeclarationValueOrigin

    pub(all) enum DeclarationValueOrigin {
    LiteralOrigin(Array[String])
    TokenOrigin(ContractVariable)
    DynamicSlotOrigin(ContractVariable)
    ExpressionOrigin(String)
    ExpressionFallbackOrigin(Array[String])
    MixedFallbackOrigin(Array[DeclarationValueOrigin])
    AnimationOrigin
    ClearOrigin
    UnsafeOrigin
    } derive(Eq,
    Debug
    )

    Records how a declaration obtained its value. Contract checks use this provenance so a literal equal to a token default cannot impersonate that token, and a runtime slot remains a typed channel rather than a literal.

    DeclarationValueOrigin::equal

    DeclarationValueOrigin::not_equal

    DependencyRef

    pub struct DependencyRef {
    module_name : String
    semantic_digest : String
    } derive(Eq,
    Debug
    )

    DependencyRef::equal

    DependencyRef::module_name

    fn DependencyRef::module_name(self : DependencyRef) -> String

    DependencyRef::not_equal

    fn DependencyRef::not_equal(x : DependencyRef, y : DependencyRef) -> Bool

    DependencyRef::semantic_digest

    fn DependencyRef::semantic_digest(self : DependencyRef) -> String

    KeyframeDeclaration

    pub(all) struct KeyframeDeclaration {
    expressions : Array[
    Expression
    ]
    property : String
    values : Array[String]
    conditions : Array[Condition]
    dynamic : Bool
    keyframe_allowed : Bool
    source : SourceSpan?
    } derive(Eq,
    Debug
    )

    KeyframeDeclaration::equal

    KeyframeDeclaration::not_equal

    KeyframeFrame

    pub(all) struct KeyframeFrame {
    step : KeyframeStep
    declarations : Array[KeyframeDeclaration]
    } derive(Eq,
    Debug
    )

    KeyframeFrame::equal

    KeyframeFrame::not_equal

    fn KeyframeFrame::not_equal(x : KeyframeFrame, y : KeyframeFrame) -> Bool

    KeyframeStep

    pub(all) enum KeyframeStep {
    From
    To
    Percent(Int)
    } derive(Eq,
    Debug
    )

    KeyframeStep::equal

    KeyframeStep::not_equal

    fn KeyframeStep::not_equal(x : KeyframeStep, y : KeyframeStep) -> Bool

    Keyframes

    pub(all) struct Keyframes {
    name_hint : String
    frames : Array[KeyframeFrame]
    } derive(Eq,
    Debug
    )

    Keyframes::equal

    fn Keyframes::equal(Keyframes, Keyframes) -> Bool

    Keyframes::not_equal

    fn Keyframes::not_equal(x : Keyframes, y : Keyframes) -> Bool

    MarkerDefinition

    pub(all) struct MarkerDefinition {
    name : String
    } derive(Eq,
    Debug
    )

    MarkerDefinition::equal

    MarkerDefinition::not_equal

    fn MarkerDefinition::not_equal(x : MarkerDefinition, y : MarkerDefinition) -> Bool

    MarkerRelation

    pub(all) enum MarkerRelation {
    MarkerAncestor
    MarkerDescendant
    MarkerSiblingBefore
    MarkerSiblingAfter
    MarkerAnySibling
    } derive(Eq,
    Debug
    )

    MarkerRelation::equal

    MarkerRelation::not_equal

    fn MarkerRelation::not_equal(x : MarkerRelation, y : MarkerRelation) -> Bool

    MediaFeature

    pub(all) struct MediaFeature {
    name : String
    operator : MediaFeatureOperator
    value : String
    } derive(Eq,
    Debug
    )

    MediaFeature::equal

    MediaFeature::not_equal

    fn MediaFeature::not_equal(x : MediaFeature, y : MediaFeature) -> Bool

    MediaFeatureOperator

    pub(all) enum MediaFeatureOperator {
    Min
    Max
    Equal
    LessThan
    GreaterThan
    } derive(Eq,
    Debug
    )

    MediaFeatureOperator::equal

    MediaFeatureOperator::not_equal

    MediaQuery

    pub(all) struct MediaQuery {
    negated : Bool
    media_type : MediaType?
    features : Array[MediaFeature]
    } derive(Eq,
    Debug
    )

    MediaQuery::equal

    fn MediaQuery::equal(MediaQuery, MediaQuery) -> Bool

    MediaQuery::not_equal

    fn MediaQuery::not_equal(x : MediaQuery, y : MediaQuery) -> Bool

    MediaType

    pub(all) enum MediaType {
    All
    Screen
    Print
    Speech
    } derive(Eq,
    Debug
    )

    MediaType::equal

    fn MediaType::equal(MediaType, MediaType) -> Bool

    MediaType::not_equal

    fn MediaType::not_equal(x : MediaType, y : MediaType) -> Bool

    Namespace

    pub(all) struct Namespace {
    name : String
    declarations : Array[Declaration]
    } derive(Eq,
    Debug
    )

    Namespace::equal

    fn Namespace::equal(Namespace, Namespace) -> Bool

    Namespace::not_equal

    fn Namespace::not_equal(x : Namespace, y : Namespace) -> Bool

    PositionTryDefinition

    pub(all) struct PositionTryDefinition {
    name : String
    descriptors : Array[PositionTryDescriptor]
    } derive(Eq,
    Debug
    )

    PositionTryDefinition::equal

    PositionTryDefinition::not_equal

    PositionTryDescriptor

    pub(all) struct PositionTryDescriptor {
    name : String
    value : String
    } derive(Eq,
    Debug
    )

    PositionTryDescriptor::equal

    PositionTryDescriptor::not_equal

    PseudoClass

    pub(all) enum PseudoClass {
    Hover
    Focus
    FocusVisible
    FocusWithin
    Active
    Disabled
    Enabled
    Checked
    Required
    Optional
    ReadOnly
    ReadWrite
    PlaceholderShown
    FirstChild
    LastChild
    OnlyChild
    Empty
    Link
    Visited
    Valid
    Invalid
    InRange
    OutOfRange
    Indeterminate
    Target
    Autofill
    NthChild(Int, Int)
    NthLastChild(Int, Int)
    NthOfType(Int, Int)
    NthLastOfType(Int, Int)
    Is(Array[SelectorState])
    Not(Array[SelectorState])
    Where(Array[SelectorState])
    MatchAttribute(AttributeSelector)
    } derive(Eq,
    Debug
    )

    PseudoClass::equal

    fn PseudoClass::equal(PseudoClass, PseudoClass) -> Bool

    PseudoClass::not_equal

    fn PseudoClass::not_equal(x : PseudoClass, y : PseudoClass) -> Bool

    PseudoElement

    pub(all) enum PseudoElement {
    Before
    After
    Placeholder
    Selection
    Marker
    FirstLetter
    FirstLine
    Backdrop
    FileSelectorButton
    } derive(Eq,
    Debug
    )

    PseudoElement::equal

    PseudoElement::not_equal

    fn PseudoElement::not_equal(x : PseudoElement, y : PseudoElement) -> Bool

    Recipe

    pub(all) struct Recipe {
    name : String
    base : Array[String]
    variants : Array[RecipeVariantAxis]
    compounds : Array[RecipeCompound]
    contract : String?
    } derive(Eq,
    Debug
    )

    Recipe::equal

    fn Recipe::equal(Recipe, Recipe) -> Bool

    Recipe::not_equal

    fn Recipe::not_equal(x : Recipe, y : Recipe) -> Bool

    Recipe::to_repr

    RecipeCompound

    pub(all) struct RecipeCompound {
    matches : Array[RecipeVariantMatch]
    rules : Array[String]
    } derive(Eq,
    Debug
    )

    RecipeCompound::equal

    RecipeCompound::not_equal

    fn RecipeCompound::not_equal(x : RecipeCompound, y : RecipeCompound) -> Bool

    RecipeVariantAxis

    pub(all) struct RecipeVariantAxis {
    name : String
    choices : Array[RecipeVariantChoice]
    default_value : String?
    boolean : Bool
    } derive(Eq,
    Debug
    )

    RecipeVariantAxis::equal

    RecipeVariantAxis::not_equal

    fn RecipeVariantAxis::not_equal(x : RecipeVariantAxis, y : RecipeVariantAxis) -> Bool

    RecipeVariantChoice

    pub(all) struct RecipeVariantChoice {
    value : String
    rules : Array[String]
    } derive(Eq,
    Debug
    )

    RecipeVariantChoice::equal

    RecipeVariantChoice::not_equal

    RecipeVariantMatch

    pub(all) struct RecipeVariantMatch {
    axis : String
    value : String
    } derive(Eq,
    Debug
    )

    RecipeVariantMatch::equal

    RecipeVariantMatch::not_equal

    Registry

    pub(all) struct Registry {
    module_name : String
    styles : Array[StyleSet]
    contracts : Array[StyleContract]
    variable_sets : Array[VariableSet]
    themes : Array[Theme]
    recipes : Array[Recipe]
    markers : Array[MarkerDefinition]
    position_tries : Array[PositionTryDefinition]
    view_transition_classes : Array[ViewTransitionClassDefinition]
    direct_dependencies : Array[DependencyRef]
    } derive(Eq,
    Debug
    )

    Registry::equal

    fn Registry::equal(Registry, Registry) -> Bool

    Registry::not_equal

    fn Registry::not_equal(x : Registry, y : Registry) -> Bool

    Registry::to_repr

    SelectorMarkerRef

    pub(all) struct SelectorMarkerRef {
    module_name : String
    name : String
    class_name : String
    states : Array[SelectorState]
    } derive(Eq,
    Debug
    )

    SelectorMarkerRef::equal

    SelectorMarkerRef::not_equal

    fn SelectorMarkerRef::not_equal(x : SelectorMarkerRef, y : SelectorMarkerRef) -> Bool

    SelectorState

    pub(all) enum SelectorState {
    SelectorPseudo(PseudoClass)
    SelectorAttribute(String)
    SelectorAttributeEquals(String, String)
    SelectorAttributeMatch(AttributeSelector)
    } derive(Eq,
    Debug
    )

    SelectorState::equal

    SelectorState::not_equal

    fn SelectorState::not_equal(x : SelectorState, y : SelectorState) -> Bool

    SourceSpan

    pub(all) struct SourceSpan {
    file : String
    line : Int
    column : Int
    end_line : Int
    end_column : Int
    symbol : String
    } derive(Eq,
    Debug
    )

    SourceSpan::equal

    fn SourceSpan::equal(SourceSpan, SourceSpan) -> Bool

    SourceSpan::not_equal

    fn SourceSpan::not_equal(x : SourceSpan, y : SourceSpan) -> Bool

    StyleContract

    pub(all) struct StyleContract {
    name : String
    properties : Array[ContractProperty]
    } derive(Eq,
    Debug
    )

    StyleContract::equal

    StyleContract::not_equal

    fn StyleContract::not_equal(x : StyleContract, y : StyleContract) -> Bool

    StyleSet

    pub(all) struct StyleSet {
    export_name : String
    namespaces : Array[Namespace]
    } derive(Eq,
    Debug
    )

    StyleSet::equal

    fn StyleSet::equal(StyleSet, StyleSet) -> Bool

    StyleSet::not_equal

    fn StyleSet::not_equal(x : StyleSet, y : StyleSet) -> Bool

    StyleSet::to_repr

    StyleValue

    pub(all) enum StyleValue {
    Text(String)
    Fallbacks(Array[String])
    Dynamic(String, String, String)
    Expression(
    Expression
    )
    ExpressionFallbacks(Array[
    Expression
    ])
    Animation(AnimationName)
    AnimationList(Array[AnimationName?])
    Clear
    } derive(Eq,
    Debug
    )

    StyleValue::animations

    fn StyleValue::animations(self : StyleValue) -> Array[AnimationName]

    StyleValue::equal

    fn StyleValue::equal(StyleValue, StyleValue) -> Bool

    StyleValue::not_equal

    fn StyleValue::not_equal(x : StyleValue, y : StyleValue) -> Bool

    SupportsCondition

    pub(all) enum SupportsCondition {
    Declaration(String, String)
    Not(SupportsCondition)
    All(Array[SupportsCondition])
    Any(Array[SupportsCondition])
    } derive(Eq,
    Debug
    )

    SupportsCondition::equal

    SupportsCondition::not_equal

    fn SupportsCondition::not_equal(x : SupportsCondition, y : SupportsCondition) -> Bool

    Theme

    pub(all) struct Theme {
    name : String
    base : VariableSet
    overrides : Array[
    VarOverride
    ]
    } derive(Eq,
    Debug
    )

    Theme::equal

    fn Theme::equal(Theme, Theme) -> Bool

    Theme::not_equal

    fn Theme::not_equal(x : Theme, y : Theme) -> Bool

    Theme::to_repr

    VariableSet

    pub(all) struct VariableSet {
    scope : String
    definitions : Array[
    VarDefinition
    ]
    } derive(Eq,
    Debug
    )

    VariableSet::equal

    fn VariableSet::equal(VariableSet, VariableSet) -> Bool

    VariableSet::not_equal

    fn VariableSet::not_equal(x : VariableSet, y : VariableSet) -> Bool

    ViewTransitionClassDefinition

    pub(all) struct ViewTransitionClassDefinition {
    name : String
    styles : Array[ViewTransitionStyle]
    } derive(Eq,
    Debug
    )

    ViewTransitionClassDefinition::not_equal

    ViewTransitionStyle

    pub(all) struct ViewTransitionStyle {
    group : String
    declarations : Array[Declaration]
    } derive(Eq,
    Debug
    )

    ViewTransitionStyle::equal

    ViewTransitionStyle::not_equal

    animation

    fn animation(value : AnimationName) -> StyleValue

    animation_list_identity

    fn animation_list_identity(values : Array[AnimationName?]) -> String

    any_contract_property

    fn any_contract_property(name : String) -> ContractProperty

    clear_value

    fn clear_value() -> StyleValue

    container

    fn container(query : ContainerQuery) -> Condition

    container_query

    fn container_query(features : Array[MediaFeature], name? : String?) -> ContainerQuery

    container_style_condition

    fn container_style_condition(condition : ContainerStyleCondition) -> Condition

    contract_variable

    fn contract_variable(variable : String, category : String) -> ContractVariable

    create_theme

    fn create_theme(name : String, base : VariableSet, overrides : Array[
    VarOverride
    ]) -> Theme

    declaration

    fn declaration(property : String, value : StyleValue, conditions? : Array[Condition], source? : SourceSpan?, atomic_properties? : Array[String], keyframe_allowed? : Bool, unsafe_raw? : Bool, value_origin? : DeclarationValueOrigin?) -> Declaration

    define_vars

    fn define_vars(scope : String, definitions : Array[
    VarDefinition
    ]) -> VariableSet

    dependency_ref

    fn dependency_ref(module_name : String, semantic_digest : String) -> DependencyRef

    dynamic

    fn dynamic(variable : String, suffix : String, category? : String) -> StyleValue

    exact_contract_property

    fn exact_contract_property(name : String, values? : Array[String], tokens? : Array[ContractVariable], slots? : Array[ContractVariable], expressions? : Array[String]) -> ContractProperty

    fallbacks

    fn fallbacks(values : Array[String]) -> StyleValue

    keyframe_frame

    fn keyframe_frame(step : KeyframeStep, declarations : Array[Declaration]) -> KeyframeFrame

    keyframes

    fn keyframes(name_hint : String, frames : Array[KeyframeFrame]) -> AnimationName

    layer

    fn layer(name : String) -> Condition

    media

    fn media(query : MediaQuery) -> Condition

    media_feature

    fn media_feature(name : String, operator : MediaFeatureOperator, value : String) -> MediaFeature

    media_query

    fn media_query(features : Array[MediaFeature], negated? : Bool, media_type? : MediaType?) -> MediaQuery

    pseudo

    fn pseudo(value : PseudoClass) -> Condition

    pseudo_element

    fn pseudo_element(value : PseudoElement) -> Condition

    registry

    fn registry(module_name : String, styles : Array[StyleSet], contracts? : Array[StyleContract], variable_sets? : Array[VariableSet], themes? : Array[Theme], recipes? : Array[Recipe], markers? : Array[MarkerDefinition], position_tries? : Array[PositionTryDefinition], view_transition_classes? : Array[ViewTransitionClassDefinition], direct_dependencies? : Array[DependencyRef]) -> Registry

    relational

    fn relational(marker : SelectorMarkerRef, relation : MarkerRelation) -> Condition

    selector_marker_ref

    fn selector_marker_ref(module_name : String, name : String, class_name : String, states? : Array[SelectorState]) -> SelectorMarkerRef

    source_span

    fn source_span(file : String, line : Int, column : Int, end_line? : Int, end_column? : Int, symbol? : String) -> SourceSpan

    style_contract

    fn style_contract(name : String, properties : Array[ContractProperty]) -> StyleContract

    style_namespace

    fn style_namespace(name : String, declarations : Array[Declaration]) -> Namespace

    style_set

    fn style_set(export_name : String, namespaces : Array[Namespace]) -> StyleSet

    supports

    fn supports(condition : SupportsCondition) -> Condition

    supports_all

    fn supports_all(conditions : Array[SupportsCondition]) -> SupportsCondition

    supports_any

    fn supports_any(conditions : Array[SupportsCondition]) -> SupportsCondition

    supports_declaration

    fn supports_declaration(property : String, value : String) -> SupportsCondition

    supports_not

    fn supports_not(condition : SupportsCondition) -> SupportsCondition

    text

    fn text(value : String) -> StyleValue

    unsafe_at_rule

    fn unsafe_at_rule(value : String) -> Condition

    unsafe_pseudo

    fn unsafe_pseudo(value : String) -> Condition

    unsafe_pseudo_element

    fn unsafe_pseudo_element(value : String) -> Condition

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io