nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib/objcwrapper: replace `scope` by `is_class_property`
[nit.git]
/
contrib
/
objcwrapper
/
src
/
objc_model.nit
diff --git
a/contrib/objcwrapper/src/objc_model.nit
b/contrib/objcwrapper/src/objc_model.nit
index
26a4df6
..
3ce3946
100644
(file)
--- a/
contrib/objcwrapper/src/objc_model.nit
+++ b/
contrib/objcwrapper/src/objc_model.nit
@@
-67,8
+67,8
@@
end
class ObjcMethod
super ObjcProperty
class ObjcMethod
super ObjcProperty
- # Scope: '+' for a static class method, and '-' for an instance method
- var scope: Char is noinit, writable
+ # Is this a static class method declared with '+'? Otherwise it's an instance method.
+ var is_class_property: Bool = false is writable
# Parameters of the method
var params = new Array[ObjcParam]
# Parameters of the method
var params = new Array[ObjcParam]