Class: CustomElementsManifestParser::DataTypes::TypeReference
- Inherits:
-
Reference
- Object
- Dry::Struct
- BaseStruct
- Reference
- CustomElementsManifestParser::DataTypes::TypeReference
- Defined in:
- lib/custom_elements_manifest_parser/data_types/type_reference.rb
Overview
A reference that is associated with a type string and optionally a range within the string.
Start and end must both be present or not present. If they're present, they are indices into the associated type string. If they are missing, the entire type string is the symbol referenced and the name should match the type string.
Instance Attribute Summary collapse
Attributes inherited from Reference
Method Summary
Methods inherited from Reference
Instance Attribute Details
#end ⇒ Integer?
19 |
# File 'lib/custom_elements_manifest_parser/data_types/type_reference.rb', line 19 attribute :end, Types::Strict::Integer.optional.(required: false) |