Module: Ea::Sources::Qea::Xref
- Defined in:
- lib/ea/sources/qea/xref.rb,
lib/ea/sources/qea/xref/parser.rb,
lib/ea/sources/qea/xref/record.rb,
lib/ea/sources/qea/xref/legend_definition.rb,
lib/ea/sources/qea/xref/property_definition.rb,
lib/ea/sources/qea/xref/stereotype_application.rb
Overview
Namespace for parsing EA's t_xref.Description mini-language.
EA encodes semi-structured metadata in a custom format combining:
- Stereotype application:
@STEREO;Name=X;FQName=Y;@ENDSTEREO; - Property definitions:
@PROP=@NAME=..@ENDNAME;@TYPE=..@ENDTYPE;... - Legend definitions:
@PROP=@NAME=..;@TYPE=LEGEND_OBJECTSTYLE;... - Legacy key=value:
aggregation=composite;direction=source;
The parser returns a typed Xref::Record value object so consumers
can branch on record type without re-parsing strings (OCP/MECE).
Defined Under Namespace
Modules: Parser Classes: LegendDefinition, PropertyDefinition, Record, StereotypeApplication