class Jaspion::Kilza::Swift
Constants
- RESERVED_CLASS_POSFIX
- RESERVED_PROPERTY_PREFIX
- RESERVED_WORDS
- TYPES
Public Class Methods
new(json_string)
click to toggle source
Calls superclass method
Jaspion::Kilza::Language::new
# File lib/jaspion/kilza/language/swift.rb, line 32 def initialize(json_string) super(json_string) @equal_keys = 'id identifier uid' end
Public Instance Methods
clazz(name)
click to toggle source
# File lib/jaspion/kilza/language/swift.rb, line 38 def clazz(name) Jaspion::Kilza::Swift::Class.new(name) end
property(name, type, array, key)
click to toggle source
# File lib/jaspion/kilza/language/swift.rb, line 42 def property(name, type, array, key) Jaspion::Kilza::Swift::Property.new(name , type, array, key) end