FuncArg - XcodeExtKit/XcodeExtBase GitHub Wiki

FuncArg

_ str1:​ Str?

public struct FuncArg: SwiftT

Inheritance

SwiftT

Initializers

init(_:hasDash:)

init(_ arg: Arg, hasDash: Bool = false)

init(name:_:hasDash:)

init(name: Str, _ type: TypeName, hasDash: Bool = false)

init(name:type:hasDash:optional:)

init(name: Str, type: Str, hasDash: Bool = false, optional: Bool = false)

Properties

arg

"cat:​ Cat"

var arg: Arg

hasDash

"_ cat:​ Cat"

var hasDash: Bool

name

"cat:​ Cat?" - cat

var name: Str

type

"cat:​ Cat?" - Cat?

var type: TypeName

typeStr

"cat:​ Cat?" - Cat?

var typeStr: Str

optional

var optional: Bool

argStr

"_ cat:​ Cat"

var argStr: Str

selfInitStr

"cat = Cat"

var selfInitStr: Str