File tree Expand file tree Collapse file tree 3 files changed +49
-1
lines changed Expand file tree Collapse file tree 3 files changed +49
-1
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ src/language/generated/
1010syntaxes /
1111.idea
1212.DS_Store
13- cml-ls /
13+ cml-ls /
14+ docs /* .png
Original file line number Diff line number Diff line change 1+ @startuml
2+ abstract class AbstractSemanticTokenProvider
3+
4+ class ContextMapperDslSemanticTokenProvider {
5+ # highlightElement(AstNode, SemanticTokenAcceptor)
6+ }
7+
8+ class SemanticTokenProviderRegistry {
9+ + get(AstNode): ContextMapperSemanticTokenProvider<AstNode>
10+ }
11+
12+ interface ContextMapperSemanticTokenProvider {
13+ + supports (AstNode ): boolean
14+ + highlight (T , SemanticTokenAcceptor )
15+ }
16+
17+ AbstractSemanticTokenProvider <|-- ContextMapperDslSemanticTokenProvider
18+ ContextMapperDslSemanticTokenProvider --> SemanticTokenProviderRegistry
19+ SemanticTokenProviderRegistry o-- "0..* " ContextMapperSemanticTokenProvider
20+ @enduml
Original file line number Diff line number Diff line change 1+ @startuml
2+ abstract class ValidationRegistry {
3+ + register(ValidationChecks<T>, ThisParameterType)
4+ }
5+
6+ class ContextMapperDslValidationRegistry {
7+ }
8+
9+ class ContextMapperDslValidator {
10+ + checkContextMappingModel(ContextMappingModel, ValidationAcceptor)
11+ + checkValue(Value, ValidationAcceptor)
12+ }
13+
14+ class ContextMapperValidationProviderRegistry {
15+ + get(AstNode): ContextMapperValidationProvider<AstNode>
16+ }
17+
18+ interface ContextMapperValidationProvider {
19+ + supports (AstNode ): boolean
20+ + validate (T , ValidationAcceptor )
21+ }
22+
23+ ValidationRegistry <|-- ContextMapperDslValidationRegistry
24+ ContextMapperDslValidationRegistry --> ContextMapperDslValidator
25+ ContextMapperDslValidator --> ContextMapperValidationProviderRegistry
26+ ContextMapperValidationProviderRegistry o-- "0..* " ContextMapperValidationProvider
27+ @enduml
You can’t perform that action at this time.
0 commit comments