-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Consolidate Declaration types. #2
base: typed-declarations
Are you sure you want to change the base?
Conversation
return nil | ||
|
||
var isProperty: Bool { | ||
guard let objCKind = kind as? ObjCDeclarationKind? where objCKind == .Property else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
precondition(language == .ObjC)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call ☎️
This is an awesome step in the right direction IMO. The fixme's will obviously have to be addressed. Do you need help with any of them? |
All of them I think! |
lol, ok, will revisit later. |
kind = cursor.objCKind() | ||
extent = cursor.extent() | ||
name = cursor.name() | ||
//typeName = cursor. // FIXME: no cursor.typeName() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just not sure how to get this information.
I left some comments explaining where I got stuck. Help me, @jpsim-kenobi. You're my only hope. |
This follows on from jpsim#112 and is inspired by #1 (comment).
cc @jpsim