-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EntityModel Macro - Extension Access Level attributes (#60)
* added access attributes enum * updated macro to extend type with provided access attributes
- Loading branch information
1 parent
600fc72
commit 0a930cd
Showing
2 changed files
with
76 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// File.swift | ||
// | ||
// | ||
// Created by Sergey Kazakov on 11/09/2024. | ||
// | ||
|
||
import Foundation | ||
|
||
enum AccessAttribute: String { | ||
case `private` | ||
case `fileprivate` | ||
case `internal` | ||
case `public` | ||
case `open` | ||
case missingAttribute = "" | ||
|
||
var name: String { | ||
rawValue | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters