Implementation note on this.__super scope with private method calls
parent
c896bdbc27
commit
98e76be94f
|
@ -1,5 +1,5 @@
|
||||||
@c This document is part of the GNU ease.js manual.
|
@c This document is part of the GNU ease.js manual.
|
||||||
@c Copyright (C) 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
|
@c Copyright (C) 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
|
||||||
@c Permission is granted to copy, distribute and/or modify this document
|
@c Permission is granted to copy, distribute and/or modify this document
|
||||||
@c under the terms of the GNU Free Documentation License, Version 1.3 or
|
@c under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||||
@c any later version published by the Free Software Foundation; with no
|
@c any later version published by the Free Software Foundation; with no
|
||||||
|
@ -539,7 +539,11 @@ The argument count of method @var{dfn\_n\^C'} must be >= the argument count
|
||||||
of method @var{dfn\_n\^C} to permit polymorphism.
|
of method @var{dfn\_n\^C} to permit polymorphism.
|
||||||
@item
|
@item
|
||||||
A reference to super method @var{dfn\_n\^C} will be preserved and assigned
|
A reference to super method @var{dfn\_n\^C} will be preserved and assigned
|
||||||
to @samp{this.__super} within context of method @var{dfn\_n\^C'}.
|
to @samp{this.__super} within context of method
|
||||||
|
@var{dfn\_n\^C'}.@footnote{Due to an @ref{Method
|
||||||
|
Wrapping,,implementation detail}, @samp{this.__super} may remain in
|
||||||
|
scope after invoking a private method; this behavior is undefined and
|
||||||
|
should not be relied on.}
|
||||||
@item
|
@item
|
||||||
A method is said to be @dfn{concrete} when it provides a definition and
|
A method is said to be @dfn{concrete} when it provides a definition and
|
||||||
@dfn{abstract} when it provides only a declaration
|
@dfn{abstract} when it provides only a declaration
|
||||||
|
|
Loading…
Reference in New Issue