Results of 1 - 1 of about 1 for otherDict (0.004 sec.)
- eval 9414
- eval.txt For Vim バージョン 9.2. Last change: 2026 Oct 17 VIM リファレンスマニュアル by Bram Moolenaar 式の評価 expression expr E15 eval E1002 式の評価についてはユーザーマニュアルの41章 usr_41.txt でも解説されている。 Note : 式の評価はコンパ
...n() は myDict を "self" として受け取る。これは、"myFunction" メンバーがアクセスされたときに起こる。"myFunction" を別の辞書 otherDict に代入 して呼び出すと、それは otherDict にバインドされる: let otherDict.myFunction = myDict.myFunction call otherDict.myFu...nction() 今度は、"self" は "otherDict" になる。しかし、辞書を明示的にバインドしたときに はこれは起こらない: let myDict.myFunction = function(MyFunction, myDict)...let otherDict.myFunction = myDict.myFunction call otherDict.myFunction() ここでは、"self" は "myDict" である。なぜなら明示的にバインドさ... - https://man.mtool.work/vimdoc-ja/9.2/eval.html
PREV
1
NEXT