Documentation Language: Swift

Initializer

init(node:at:nameAttr:privateAttr:readableAttr:writableAttr:scopeAttr:)

XML Element initialser

init(node: XMLElement, at index: Int, nameAttr: String = "name", privateAttr: String = "private", readableAttr: String = "readable", writableAttr: String = "writable", scopeAttr: String = "scope")

Parameters

node

XMLElement to construct this C type from

index

Index within the siblings of the node

nameAttr

Key for the attribute to extract the name property from

privateAttr

Key for the attribute to extract the privacy status from

readableAttr

Key for the attribute to extract the readbility status from

writableAttr

Key for the attribute to extract the writability status from

scopeAttr

Key for the attribute to extract the scope string from