ClassDecl - XcodeExtKit/XcodeExtBase GitHub Wiki
ClassDecl
Any type decl, except protocol (public) struct Cat { var name: Str}
public struct ClassDecl: TypeDeclP
Inheritance
Initializers
init(name:props:funcs:inits:exts:_:)
init(name: Str, props: [Property] = [], funcs: [FuncDecl] = [], inits: [InitDecl] = [], exts: [ExtDecl] = [], _ 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?
exts
var exts: [ExtDecl]
Methods
str(usesTabs:tabIndent:)
(public) struct Cat { var name: Str}
func str(usesTabs: Bool = false, tabIndent: Int = 4) -> Str