@@ -619,11 +619,10 @@ class Sabberworm\CSS\CSSList\Document#4 (2) {
619
619
## Class diagram
620
620
621
621
``` mermaid
622
+ %% start of the generated part
622
623
classDiagram
623
624
direction LR
624
625
625
- %% Start of the part originally generated from the PHP code using tasuku43/mermaid-class-diagram
626
-
627
626
class Anchor {
628
627
}
629
628
class AtRule {
@@ -713,96 +712,150 @@ classDiagram
713
712
}
714
713
class SourceException {
715
714
}
715
+ class SpecificityCalculator {
716
+ }
717
+ class URL {
718
+ }
716
719
class UnexpectedEOFException {
717
720
}
718
721
class UnexpectedTokenException {
719
722
}
720
- class URL {
721
- }
722
723
class Value {
723
724
<<abstract>>
724
725
}
725
726
class ValueList {
726
727
<<abstract>>
727
728
}
728
729
729
- RuleSet <|-- DeclarationBlock: inheritance
730
+ Anchor ..> ParserState: dependency
731
+ CSSListItem <|-- AtRule: inheritance
732
+ AtRule <|.. AtRuleBlockList: realization
733
+ CSSBlockList <|-- AtRuleBlockList: inheritance
734
+ AtRuleBlockList ..> OutputFormat: dependency
735
+ AtRule <|.. AtRuleSet: realization
736
+ AtRuleSet ..> OutputFormat: dependency
737
+ RuleSet <|-- AtRuleSet: inheritance
738
+ CSSList <|-- CSSBlockList: inheritance
730
739
Renderable <|-- CSSElement: inheritance
731
- Renderable <|-- CSSListItem: inheritance
740
+ CSSFunction ..> OutputFormat: dependency
741
+ CSSFunction ..> ParserState: dependency
742
+ ValueList <|-- CSSFunction: inheritance
743
+ CSSList ..> AtRuleBlockList: dependency
744
+ CSSList ..> AtRuleSet: dependency
745
+ CSSElement <|.. CSSList: realization
746
+ CSSListItem <|.. CSSList: realization
747
+ CSSList ..> CSSNamespace: dependency
748
+ CSSList ..> Charset: dependency
749
+ CSSList ..> Import: dependency
750
+ CSSList ..> KeyFrame: dependency
751
+ CSSList ..> OutputFormat: dependency
752
+ CSSList ..> ParserState: dependency
753
+ Positionable <|.. CSSList: realization
754
+ CSSList ..> Selector: dependency
755
+ CSSList ..> SourceException: dependency
756
+ CSSList ..> UnexpectedTokenException: dependency
732
757
Commentable <|-- CSSListItem: inheritance
733
- Positionable <|.. RuleSet: realization
734
- CSSElement <|.. RuleSet: realization
735
- CSSListItem <|.. RuleSet: realization
736
- RuleContainer <|.. RuleSet: realization
737
- RuleSet <|-- AtRuleSet: inheritance
738
- AtRule <|.. AtRuleSet: realization
739
- Renderable <|.. Selector: realization
740
- Selector <|-- KeyframeSelector: inheritance
741
- CSSListItem <|-- AtRule: inheritance
742
- Positionable <|.. Charset: realization
758
+ Renderable <|-- CSSListItem: inheritance
759
+ AtRule <|.. CSSNamespace: realization
760
+ CSSNamespace ..> OutputFormat: dependency
761
+ Positionable <|.. CSSNamespace: realization
762
+ CSSString ..> OutputFormat: dependency
763
+ CSSString ..> ParserState: dependency
764
+ PrimitiveValue <|-- CSSString: inheritance
765
+ CSSString ..> SourceException: dependency
766
+ CSSFunction <|-- CalcFunction: inheritance
767
+ CalcFunction ..> CalcRuleValueList: dependency
768
+ CalcFunction ..> ParserState: dependency
769
+ CalcFunction ..> RuleValueList: dependency
770
+ CalcFunction ..> UnexpectedTokenException: dependency
771
+ CalcRuleValueList ..> OutputFormat: dependency
772
+ RuleValueList <|-- CalcRuleValueList: inheritance
743
773
AtRule <|.. Charset: realization
744
- Positionable <|.. Import: realization
774
+ Charset ..> CSSString: dependency
775
+ Charset ..> OutputFormat: dependency
776
+ Positionable <|.. Charset: realization
777
+ CSSFunction <|-- Color: inheritance
778
+ Color ..> OutputFormat: dependency
779
+ Color ..> ParserState: dependency
780
+ Color ..> Size: dependency
781
+ Color ..> UnexpectedTokenException: dependency
782
+ Comment ..> OutputFormat: dependency
783
+ Positionable <|.. Comment: realization
784
+ Renderable <|.. Comment: realization
785
+ DeclarationBlock ..> KeyframeSelector: dependency
786
+ DeclarationBlock ..> OutputException: dependency
787
+ DeclarationBlock ..> OutputFormat: dependency
788
+ DeclarationBlock ..> ParserState: dependency
789
+ RuleSet <|-- DeclarationBlock: inheritance
790
+ DeclarationBlock ..> Selector: dependency
791
+ DeclarationBlock ..> UnexpectedTokenException: dependency
792
+ CSSBlockList <|-- Document: inheritance
793
+ Document ..> OutputFormat: dependency
794
+ Document ..> ParserState: dependency
745
795
AtRule <|.. Import: realization
746
- Positionable <|.. CSSNamespace: realization
747
- AtRule <|.. CSSNamespace: realization
796
+ Import ..> OutputFormat: dependency
797
+ Positionable <|.. Import: realization
798
+ Import ..> URL: dependency
799
+ AtRule <|.. KeyFrame: realization
800
+ CSSList <|-- KeyFrame: inheritance
801
+ KeyFrame ..> OutputFormat: dependency
802
+ Selector <|-- KeyframeSelector: inheritance
803
+ LineName ..> OutputFormat: dependency
804
+ LineName ..> ParserState: dependency
805
+ ValueList <|-- LineName: inheritance
806
+ SourceException <|-- OutputException: inheritance
807
+ OutputFormat ..> OutputFormatter: dependency
808
+ OutputFormatter ..> Commentable: dependency
809
+ OutputFormatter ..> InvalidArgumentException: dependency
810
+ OutputFormatter ..> OutputFormat: dependency
811
+ Parser ..> Document: dependency
812
+ Parser ..> ParserState: dependency
813
+ ParserState ..> Anchor: dependency
814
+ ParserState ..> Comment: dependency
815
+ ParserState ..> Settings: dependency
816
+ ParserState ..> SourceException: dependency
817
+ ParserState ..> UnexpectedEOFException: dependency
818
+ ParserState ..> UnexpectedTokenException: dependency
819
+ Value <|-- PrimitiveValue: inheritance
820
+ Renderable ..> OutputFormat: dependency
748
821
CSSElement <|.. Rule: realization
749
- Positionable <|.. Rule: realization
750
822
Commentable <|.. Rule: realization
751
- SourceException <|-- OutputException: inheritance
752
- UnexpectedTokenException <|-- UnexpectedEOFException: inheritance
823
+ Rule ..> OutputFormat: dependency
824
+ Rule ..> ParserState: dependency
825
+ Positionable <|.. Rule: realization
826
+ Rule ..> RuleValueList: dependency
827
+ RuleContainer ..> Rule: dependency
828
+ CSSElement <|.. RuleSet: realization
829
+ CSSListItem <|.. RuleSet: realization
830
+ RuleSet ..> OutputFormat: dependency
831
+ RuleSet ..> ParserState: dependency
832
+ Positionable <|.. RuleSet: realization
833
+ RuleSet ..> Rule: dependency
834
+ RuleContainer <|.. RuleSet: realization
835
+ RuleSet ..> UnexpectedValueException: dependency
836
+ ValueList <|-- RuleValueList: inheritance
837
+ Selector ..> OutputFormat: dependency
838
+ Renderable <|.. Selector: realization
839
+ Size ..> OutputFormat: dependency
840
+ Size ..> ParserState: dependency
841
+ PrimitiveValue <|-- Size: inheritance
753
842
Exception <|-- SourceException: inheritance
754
843
Positionable <|.. SourceException: realization
755
- SourceException <|-- UnexpectedTokenException: inheritance
756
- CSSList <|-- CSSBlockList: inheritance
757
- CSSBlockList <|-- Document: inheritance
758
- CSSElement <|.. CSSList: realization
759
- Positionable <|.. CSSList: realization
760
- CSSListItem <|.. CSSList: realization
761
- CSSList <|-- KeyFrame: inheritance
762
- AtRule <|.. KeyFrame: realization
763
- CSSBlockList <|-- AtRuleBlockList: inheritance
764
- AtRule <|.. AtRuleBlockList: realization
765
- CSSFunction <|-- Color: inheritance
844
+ URL ..> CSSString: dependency
845
+ URL ..> OutputFormat: dependency
846
+ URL ..> ParserState: dependency
766
847
PrimitiveValue <|-- URL: inheritance
767
- RuleValueList <|-- CalcRuleValueList: inheritance
768
- Value <|-- ValueList: inheritance
769
- CSSFunction <|-- CalcFunction: inheritance
770
- ValueList <|-- LineName: inheritance
848
+ UnexpectedTokenException <|-- UnexpectedEOFException: inheritance
849
+ SourceException <|-- UnexpectedTokenException: inheritance
771
850
CSSElement <|.. Value: realization
851
+ Value ..> CSSFunction: dependency
852
+ Value ..> ParserState: dependency
772
853
Positionable <|.. Value: realization
773
- PrimitiveValue <|-- Size: inheritance
774
- PrimitiveValue <|-- CSSString: inheritance
775
- Value <|-- PrimitiveValue: inheritance
776
- ValueList <|-- CSSFunction: inheritance
777
- ValueList <|-- RuleValueList: inheritance
778
- Renderable <|.. Comment: realization
779
- Positionable <|.. Comment: realization
780
-
854
+ Value ..> RuleValueList: dependency
855
+ Value ..> UnexpectedTokenException: dependency
856
+ ValueList ..> OutputFormat: dependency
857
+ Value <|-- ValueList: inheritance
781
858
%% end of the generated part
782
-
783
-
784
- Anchor --> "1" ParserState: parserState
785
- CSSList --> "*" CSSList: contents
786
- CSSList --> "*" Charset: contents
787
- CSSList --> "*" Comment: comments
788
- CSSList --> "*" Import: contents
789
- CSSList --> "*" RuleSet: contents
790
- CSSNamespace --> "*" Comment: comments
791
- Charset --> "*" Comment: comments
792
- Charset --> "1" CSSString: charset
793
- DeclarationBlock --> "*" Selector: selectors
794
- Import --> "*" Comment: comments
795
- OutputFormat --> "1" OutputFormat: nextLevelFormat
796
- OutputFormat --> "1" OutputFormatter: outputFormatter
797
- OutputFormatter --> "1" OutputFormat: outputFormat
798
- Parser --> "1" ParserState: parserState
799
- ParserState --> "1" Settings: parserSettings
800
- Rule --> "*" Comment: comments
801
- Rule --> "1" RuleValueList: value
802
- RuleSet --> "*" Comment: comments
803
- RuleSet --> "*" Rule: rules
804
- URL --> "1" CSSString: url
805
- ValueList --> "*" Value: components
806
859
```
807
860
808
861
## API and deprecation policy
0 commit comments