class Objc2swiftAssistant::ObjCAbstractParameter
Attributes
is_block_type[RW]
is_weak[RW]
match_failure[RW]
param_type[RW]
pointer_level[RW]
Public Class Methods
new()
click to toggle source
# File lib/objc2swift_assistant/objc_variable_types.rb, line 12 def initialize @pointer_level = 0 @param_type = nil @is_weak = false end
Public Instance Methods
match_failed()
click to toggle source
# File lib/objc2swift_assistant/objc_variable_types.rb, line 18 def match_failed return ! @match_failure.nil? end
process_pointer_str( pointer_str )
click to toggle source
# File lib/objc2swift_assistant/objc_variable_types.rb, line 22 def process_pointer_str( pointer_str ) if pointer_str.nil? @pointer_level = 0 else @pointer_level = pointer_str.length end end