Describes prohibited edits of class declarations.
说明类别宣告所禁止的编辑。
Scala lets you nest class declarations, like many object-oriented languages.
Scala和许多面向对象语言一样,允许你嵌套声明类。
Most changes to class declarations are not allowed by Edit and Continue while in Break mode.
当处于中断模式时,“编辑并继续”不允许对类声明的大多数更改。
You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.
可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。
Class declarations are allowed only in the main program block, inside other classes, inside packages, or in functions.
只允许在主程序块、其他类、包或函数内部使用类声明。
While in Break mode, however, you are generally not allowed to change declaration statements, such as public methods, public fields, or class declarations.
但是,在中断模式下一般不允许对声明语句(如公共方法、公共字段或类声明)进行更改。
The managed structure and class declarations in the remaining columns show the degree to which you can adjust the level of indirection in your declaration.
其余列中的托管结构和类声明显示在声明中可以调整的间接寻址级别的程度。
By placing related class declarations in the same module, you can give the classes access to one another's private members without making those members more widely accessible.
通过将相关的类声明在相同的模块,你可以访问另一个类私人没有这些成员更广泛的访问成员。
In most cases, you are not allowed to make changes to code declarations, such as property, method, or class declarations, that affect the public structure of a class while in Break mode.
在中断模式的大部分情况中,都不允许您对影响类别公用结构的程序码宣告(例如属性、方法,或类别宣告)进行变更。
An assertion cannot be used with class variable declarations for instance, but can be placed within any method.
不能将断言同实例的类变量声明一块使用,但却可以将其置于任何方法内。
Where objects are necessary, try to use inter-type declarations in aspects to compose the objects, so different (pattern) roles remain distinct even when defined on one class.
如果对象是必需的,那么应该尝试在方面中使用内部类型声明来组合对象,从而使不同的(模式)角色保持区别,即使在同一个类中定义也是如此。
Listing 1 only contains the declarations of the different methods of the ASN.1 class.
清单1只包含A SN . 1类中不同方法的声明。
In this case, it drops the method implementations and field declarations defined in the trait into the class that implements the trait, Person.
在这种情况下,它会将特征中定义的方法实现和字段声明纳入实现特征的类person中。
The DeploymentDescriptor class treats the qname attribute as optional in type mapping declarations.
DeploymentDescriptor类把qname属性作为类型映射声明中的可选项。
Use the NSStack class to track the scope of XML namespace declarations.
使用nsstack类跟踪XML名称空间声明的作用域。
Also notice the lack of declarations and the lack of a new operator when creating class instances.
还要注意在创建类实例时没有声明、也没有new运算符。
Grails looks for the constraints declarations in the same directory as our domain class.
Grails在领域类相同的目录下查找约束声明。
AlgoNames (Listing 16) is a helper class that only specifies namespace declarations required by XML Encryption.
AlgoNames(清单16)是一个只指定XML加密所需要的名称空间声明的助手类。
In Listing 8, you can see how the import declarations let the rules execution engine know where to find the class definitions of the objects you'll be using in your rules.
在清单8中,可以看到import声明如何让规则执行引擎知道在哪里查找将在规则中使用的对象的类定义。
To solve this we use a simple fact: Ruby class definitions are more than just declarations, they are actually executed at load time. When this line is loaded.
要想解决这个问题,我们要了解一个简单的事实:Ruby的class定义不仅仅是声明,它们会在加载的时候被执行。
Aspects can also declare fields and methods on the behalf of another class. These are known as intertype declarations and require different content assist completions.
Aspect也可以代表其他类声明其属性和方法。
The base layout class defines the global methods and the declarations that different form applications use.
基本布局类定义了不同的表单应用程序使用的全局方法和声明。
Then the class USES some of the parser API to get a list of declarations.
然后该类使用一些剖析器api,以得到声明的一个列表。
Create a type module file that holds your specialized element and attribute declarations (including the class attribute).
创建类型模块文件包含专门化元素和属性声明(包括class属性)。
A mechanism for making class definitions and other declarations available in multiple source files.
使得类的定义和其他声明在多个源文件中可见的一种机制。
Function declarations may include class type hints for their parameters. If the functions are called with an incorrect class type an error occurs.
函数声明可以包含类类星体是作为他们的参数,如果一个函数被一个错误的类调用将打印一个错误。
Both delegates and interfaces enable a class designer to separate type declarations and implementation.
委托和接口都允许类设计器分离类型声明和实现。
Double-click the designer and write code in the general declarations section of the class, or double-click an element contained on the class to write code for that element.
双击设计器并在类的一般声明部分编写代码,或双击类中包含的元素并为该元素编写代码。
Describes prohibited edits of class member declarations.
说明类别成员宣告所禁止的编辑。
They must be marked public and must match the declarations in the class interface.
它们必须标记为公用并且符合类别介面内的宣告。
应用推荐