Class: Objc2swiftAssistant::ObjCMethodParameter

Inherits:
ObjCAbstractParameter show all
Defined in:
lib/objc2swift_assistant/objc_variable_types.rb

Instance Attribute Summary collapse

Attributes inherited from ObjCAbstractParameter

#is_block_type, #is_weak, #match_failure, #param_type, #pointer_level

Instance Method Summary collapse

Methods inherited from ObjCAbstractParameter

#match_failed, #process_pointer_str

Constructor Details

#initializeObjCMethodParameter

Returns a new instance of ObjCMethodParameter.



47
48
49
# File 'lib/objc2swift_assistant/objc_variable_types.rb', line 47

def initialize
  super()
end

Instance Attribute Details

#null_qualifierObject

Returns the value of attribute null_qualifier.



45
46
47
# File 'lib/objc2swift_assistant/objc_variable_types.rb', line 45

def null_qualifier
  @null_qualifier
end

#param_labelObject

May be empty for 1st param



44
45
46
# File 'lib/objc2swift_assistant/objc_variable_types.rb', line 44

def param_label
  @param_label
end

#param_nameObject

Returns the value of attribute param_name.



43
44
45
# File 'lib/objc2swift_assistant/objc_variable_types.rb', line 43

def param_name
  @param_name
end

Instance Method Details

#from_declaration(declaration_str) ⇒ Object



51
52
53
# File 'lib/objc2swift_assistant/objc_variable_types.rb', line 51

def from_declaration( declaration_str )

end