ExtDecl - XcodeExtKit/XcodeExtBase GitHub Wiki

ExtDecl

Any type decl, except protocol (public) struct Cat { var name:​ Str}

public struct ExtDecl: ExtDeclP

Inheritance

ExtDeclP

Initializers

init(name:props:funcs:inits:_:)

init(name: Str, props: [Property] = [], funcs: [FuncDecl] = [], inits: [InitDecl] = [], _ access: AccessMod? = nil)

Properties

name

type name

var name: Str

props

var props: [Property]

funcs

var funcs: [FuncDecl]

inits

var inits: [InitDecl]

access

var access: AccessMod?

Methods

str(usesTabs:tabIndent:)

(public) struct Cat { var name:​ Str}

func str(usesTabs: Bool = false, tabIndent: Int = 4) -> Str