enclosing class
常见例句
- A signature can embed a token that identifies the enclosing class or value type.
签名中可以嵌入标识封闭类或值类型的标记。 - Essentially, the compiler replaces the self keyword with the enclosing class's name. It is almost like the following line
基本上,编译器会用所包含类的名称替换 self 关键字。 - 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