enclosing class
常見例句
- A signature can embed a token that identifies the enclosing class or value type.
簽名中可以嵌入標(biāo)識封閉類或值類型的標(biāo)記。 - Essentially, the compiler replaces the self keyword with the enclosing class's name. It is almost like the following line
基本上,編譯器會用所包含類的名稱替換 self 關(guān)鍵字。 - In Scala, the enclosing class can't see a private member, but Scala provides another way to declare it visible to the enclosing class.
在Scala 裡,則不能看到,但是Scala 提供了另外一種方式來聲明它對於包含它的外部類可見。 返回 enclosing class