Skip to content

Commit 31428ad

Browse files
committed
[CLEANUP] Change syntax in and reorder class diagram markup
See #1298
1 parent 1814dd7 commit 31428ad

File tree

1 file changed

+64
-64
lines changed

1 file changed

+64
-64
lines changed

README.md

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -713,96 +713,96 @@ classDiagram
713713
}
714714
class SourceException {
715715
}
716+
class URL {
717+
}
716718
class UnexpectedEOFException {
717719
}
718720
class UnexpectedTokenException {
719721
}
720-
class URL {
721-
}
722722
class Value {
723723
<<abstract>>
724724
}
725725
class ValueList {
726726
<<abstract>>
727727
}
728728
729-
RuleSet <|-- DeclarationBlock: inheritance
729+
Anchor ..> ParserState: dependency
730+
CSSListItem <|-- AtRule: inheritance
731+
AtRule <|.. AtRuleBlockList: realization
732+
CSSBlockList <|-- AtRuleBlockList: inheritance
733+
AtRule <|.. AtRuleSet: realization
734+
RuleSet <|-- AtRuleSet: inheritance
735+
CSSList <|-- CSSBlockList: inheritance
730736
Renderable <|-- CSSElement: inheritance
731-
Renderable <|-- CSSListItem: inheritance
737+
ValueList <|-- CSSFunction: inheritance
738+
CSSElement <|.. CSSList: realization
739+
CSSListItem <|.. CSSList: realization
740+
CSSList ..> CSSList: dependency
741+
CSSList ..> Charset: dependency
742+
CSSList ..> Comment: dependency
743+
CSSList ..> Import: dependency
744+
CSSList ..> RuleSet: dependency
745+
Positionable <|.. CSSList: realization
732746
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
747+
Renderable <|-- CSSListItem: inheritance
748+
AtRule <|.. CSSNamespace: realization
749+
Positionable <|.. CSSNamespace: realization
750+
CSSNamespace ..> Comment: dependency
751+
PrimitiveValue <|-- CSSString: inheritance
752+
Charset ..> Comment: dependency
753+
Import ..> Comment: dependency
754+
CSSFunction <|-- CalcFunction: inheritance
755+
RuleValueList <|-- CalcRuleValueList: inheritance
743756
AtRule <|.. Charset: realization
744-
Positionable <|.. Import: realization
757+
Charset ..> CSSString: dependency
758+
Positionable <|.. Charset: realization
759+
CSSFunction <|-- Color: inheritance
760+
Positionable <|.. Comment: realization
761+
Renderable <|.. Comment: realization
762+
RuleSet <|-- DeclarationBlock: inheritance
763+
DeclarationBlock ..> Selector: dependency
764+
CSSBlockList <|-- Document: inheritance
745765
AtRule <|.. Import: realization
746-
Positionable <|.. CSSNamespace: realization
747-
AtRule <|.. CSSNamespace: realization
766+
Positionable <|.. Import: realization
767+
AtRule <|.. KeyFrame: realization
768+
CSSList <|-- KeyFrame: inheritance
769+
Selector <|-- KeyframeSelector: inheritance
770+
ValueList <|-- LineName: inheritance
771+
SourceException <|-- OutputException: inheritance
772+
OutputFormat ..> OutputFormat: dependency
773+
OutputFormat ..> OutputFormatter: dependency
774+
OutputFormatter ..> OutputFormat: dependency
775+
Parser ..> ParserState: dependency
776+
ParserState ..> Settings: dependency
777+
Value <|-- PrimitiveValue: inheritance
748778
CSSElement <|.. Rule: realization
749-
Positionable <|.. Rule: realization
750779
Commentable <|.. Rule: realization
751-
SourceException <|-- OutputException: inheritance
752-
UnexpectedTokenException <|-- UnexpectedEOFException: inheritance
780+
Positionable <|.. Rule: realization
781+
Rule ..> RuleValueList: dependency
782+
CSSElement <|.. RuleSet: realization
783+
CSSListItem <|.. RuleSet: realization
784+
Positionable <|.. RuleSet: realization
785+
RuleSet ..> Rule: dependency
786+
RuleContainer <|.. RuleSet: realization
787+
ValueList <|-- RuleValueList: inheritance
788+
Rule ..> Comment: dependency
789+
RuleSet ..> Comment: dependency
790+
Renderable <|.. Selector: realization
791+
PrimitiveValue <|-- Size: inheritance
753792
Exception <|-- SourceException: inheritance
754793
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
794+
URL ..> CSSString: dependency
795+
ValueList ..> Value: dependency
766796
PrimitiveValue <|-- URL: inheritance
767-
RuleValueList <|-- CalcRuleValueList: inheritance
768-
Value <|-- ValueList: inheritance
769-
CSSFunction <|-- CalcFunction: inheritance
770-
ValueList <|-- LineName: inheritance
797+
UnexpectedTokenException <|-- UnexpectedEOFException: inheritance
798+
SourceException <|-- UnexpectedTokenException: inheritance
771799
CSSElement <|.. Value: realization
772800
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
801+
Value <|-- ValueList: inheritance
780802
781803
%% end of the generated part
782804
783805
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
806806
```
807807

808808
## API and deprecation policy

0 commit comments

Comments
 (0)