Module: Laser::Parsers::Structural::StructuralConstraint1

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) type



31
32
33
34
35
# File 'lib/laser/annotation_parser/structural_parser.rb', line 31

def type
  result = Types::StructuralType.new(
      method_name.text_value, parenthesized_type_list.all_types,
      return_type.type)
end