Class: CustomElementsManifestParser::DataTypes::TypeReference

Inherits:
Reference
  • Object
show all
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

#module, #name, #package

Method Summary

Methods inherited from Reference

#visit

Instance Attribute Details

#endInteger?

Returns:

  • (Integer, nil)


19
# File 'lib/custom_elements_manifest_parser/data_types/type_reference.rb', line 19

attribute :end, Types::Strict::Integer.optional.meta(required: false)