Module: Laser::Parsers::Class::HashConstraint1

Defined in:
lib/laser/annotation_parser/class_annotations_parser.rb

Instance Method Summary collapse

Instance Method Details

#typeObject



72
73
74
75
# File 'lib/laser/annotation_parser/class_annotations_parser.rb', line 72

def type
  Types::GenericType.new(Types::ClassType.new('Hash', :covariant),
      [variance_constraint1.type, variance_constraint2.type])
end