Concepts
→ classes representing LCE language concepts
- located in
typescript/src/core/concepts
- all files end with
.concept.ts
- may export one or more concept classes each
- all files end with
Notes for creating new concept classes:
- each concept class must (indirectly) inherit from
LCEConcept
/LCENamedConcept
- each concept class must override the static
conceptId
field with a unique string identifier - use
CodeCoordinates
class as field type to encode code coordinates - all type and value concepts are located in
type.concept.ts
andvalue.concept.ts
respectively
ConceptMap
:
- Concept Maps are realized in their more complex form, integrating parent property names into their index structure
- use
mergeConceptMaps
,unifyConceptMap
,singleEntryConceptMap
,createConceptMap
, andgetAndCastConcepts
utility functions for the concise management ofConceptMap
instances