init(n: Symbol, d: PNode)
do
- assert n != null
- assert d != null
+ #assert n != null
+ #assert d != null
_name = n
_decl = d
end
redef class AMethPropdef
# Associated method (MM entity)
meth method: MMMethSrcMethod is abstract
+
+ # Associated 'self' variable
+ meth self_var: ParamVariable is abstract
end
redef class ATypePropdef
redef class AType
attr _stype_cache: MMType
- attr _stype_cached: Bool
+ attr _stype_cached: Bool = false
redef meth get_local_class(v)
do
readable writable attr _variable: AutoVariable
end
+redef class ASelfExpr
+ # Associated local variable
+ readable writable attr _variable: ParamVariable
+end
+
redef class AVarFormExpr
# Associated local variable
readable writable attr _variable: Variable