Class: Mingle::QualifiedTypeName

Inherits:
BitGirderClass
  • Object
show all
Includes:
StringParser
Defined in:
lib/mingle.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from StringParser

included

Class Method Details

.impl_parse(s) ⇒ Object



1881
1882
1883
# File 'lib/mingle.rb', line 1881

def self.impl_parse( s )
    MingleParser.consume_string( s ) { |p| p.expect_qname }
end

Instance Method Details

#external_formObject Also known as: to_s



1891
1892
1893
# File 'lib/mingle.rb', line 1891

def external_form
    "#{@namespace.external_form}/#{@name.external_form}"
end

#hashObject



1886
1887
1888
# File 'lib/mingle.rb', line 1886

def hash
    [ @namespace, @name ].hash
end