当你需要在同一行中放置多个声明或者表达式的时候,你可以使用分号来隔开它们。
When you want to put multiple statements or expressions on the same line, you can use semicolons to separate them.
在构建您自己的主应用程序CSS文件时,通常一种好的做法是首先放置那些默认的组件样式声明。
When building your main application CSS file, it's generally good practice to place your default component style declarations first.
因为我们在每一个参数声明前放置了val关键字,它们会被自动地转换为有同样名字的只读的字段,并且伴有同样名字的公开读取方法。
Because we put the val keyword before each parameter declaration, they are automatically converted to read-only fields with the same names with public reader methods of the same name.
作为一种解决方案,模式作者可能会在可选的元素声明和通配符之间放置一个必需的元素,如清单3所示。
As a workaround, a schema author might place a required element in between the optional one and the wildcard as in Listing 3.
在本书中,我们将采用第二种声明风格:将符号* 紧贴着指针变量名放置。
In this book we use the second style and place the * with the pointer variable name.
全局变量的范围可以通过仔细放置声明的限制。
The scope of global variables can be restricted by carefully placing the declaration.
全局变量的范围可以通过仔细放置声明的限制。
The scope of global variables can be restricted by carefully placing the declaration.
应用推荐