Home - XcodeExtKit/XcodeExtBase GitHub Wiki

Types

  • AccessMod
  • Comment
  • Comment.Style
  • FuncDecl: func print(_ str1: Str?, _ str2: Str?) -> Str? { ... }
  • FuncInterface: func print(_ str1: Str?, _ str2: Str?) -> Str?
  • InitDecl: init?(_ str1: Str?, _ str2: Str?) {}
  • InitInterface: init?(_ str1: Str?, _ str2: Str?)
  • Arg: "cat: Cat"
  • FuncArg: _ str1: Str?
  • Property: (public) var cat: Cat
  • VarType: Variable type
  • TypeName: any type name, for ex "Str?"
  • CaseList: enum case list, can have diff formats case cat, dog, etc or each case on diff line, or several lines with groups of cases
  • CaseObj: enum case which can be repr-d in 3 ways: rawValue, nested value or just case Supported formats: case cat, case cat = "", case .cat(Animal),
  • ProtocolDecl: (public) protocol CatP { var name: Str {get set} funcs inits } + extensions
  • SwiftType
  • ClassDecl: Any type decl, except protocol (public) struct Cat { var name: Str}
  • EnumDecl: Any type decl, except protocol (public) struct Cat { var name: Str}
  • ExtDecl: Any type decl, except protocol (public) struct Cat { var name: Str}
  • StructDecl: Any type decl, except protocol (public) struct Cat { var name: Str}

Protocols

Global Typealiases

Global Functions