So we don't need the curly braces.
所以我们不需要那个花括号。
大卫:花括号。
Are scopes defined by curly braces or by functions?
范围是由花括号定义的还是函数定义的?
Are — is scope defined by curly braces or by functions?
范围是由花括号定义的还是函数定义的?
Everything inside of the curly braces is the code I am writing.
所有在大括号里面的代码都由我们自己编写。
where the method body is the contents of the curly braces.
表示闭包,其中方法的主体就是花括号中的内容。
It is a single expression, so no extra curly braces are needed.
它是一个单一表达式,所以不需要额外的花括号。
Inside the curly braces is this program's code, what am I doing?
在花括号里是这个程序的代码,我在做什么?
The declaration block is surrounded by curly braces and made up of declarations.
声明块放在大括号中,由声明组成。
You can also supply arrays of values to annotation variables, through curly braces.
还可以通过花括号为注释变量提供值数组。
Why is the code after receive enclosed in curly braces ({…}) and not parentheses ((…))?
为什么在receive 后面的代码被包含在大括号{}中而不是小括号()呢?
A hash is expressed as a set of attributes delimited by commas between curly braces.
hash被表示为使用逗号间隔的一组属性,并且使用大括号括起。
So I actually don't need the curly braces because I only have a single line of code.
所以我实际上不需要那个花括号,因为我只有一行代码。
The foreach command runs the script shown in curly braces for each file encountered.
foreach命令对每个文件执行大括号里面的脚本。
You create a dictionary in Vimscript by using curly braces around a list of key/value pairs.
您可以通过在键/值对列表上加花括号来创建一个字典。
If a method body has more than one expression, you must surround it with curly braces {...}.
如果一个方法的主体包含多于一个的表达式,你必须用大括号来把它们包起来。
The steps that the method performs are listed between the curly braces and are called statements.
花括号中列出的方法执行的一系列步骤叫做语句。
This method isn't very useful because you can do the same thing directly by using curly braces.
这个方法其实用处不大,因为可以使用花括号完成相同的任务。
A JSON object is simply a series of comma-separated name: value pairs wrapped in curly braces.
JSON对象是一系列以逗号分隔的name:value对,最外面有一对花括号。
As before, we omit the curly braces "{...}" around the body of toString, since it has only one expression.
像之前一样,我们省略了toString方法主体两边的大括号“{…}”,因为我们只有一个表达式。
Expressions in W3Eval can contain three kind of parentheses: standard parentheses, square brackets, and curly braces.
W3Eval的表达式可以包含三种括号:标准圆括号、方括号和花括号。
The curly braces are then the c's way of kind of making a puzzle piece that looks like this so you can put stuff inside.
花括号是C语言的一个方式,用来做一个像这样的程序块,所以你可以把代码写在里面。
This is a special pattern that lets you specify the network part of the address and a list of host addresses in curly braces.
这是一种特殊模式,允许指定地址的网络部分和以大括号扩住的主机地址列表。
Vector constants are created by putting the type of vector in parentheses followed by the contents of the vector in curly braces.
向量常量的创建方法如下:先是在圆括号中的向量类型,然后是使用花括号括起来的向量内容。
As you can see, we can enclose the environment variable name in curly braces when it is not clearly separated from the surrounding text.
如您所见,当环境变量没有与周围文本明显分开时,可以用花括号将它括起。
In these simple cases, expressions are provided, but they could also be blocks of code (using curly braces) to specify multiple statements.
这些简单的案例中提供了表达式,但它们也可以是规定多条语句的代码块(使用花括号)。
For expressions may be defined with parenthesis or curly braces, but using curly braces means you don't have to separate your filters with semicolons.
for表达式可以用括号或者大括号来定义,但是使用大括号意味着你不必用分号来分割你的过滤器。
As this example demonstrates, a dictionary is created in Python by using curly braces, with key-value combinations separated by the colon character.
如这个例子所示,在Python中创建dictionary要使用花括号和以冒号分隔的键-值组合。
JSON objects should look familiar to Groovy programmers: if you replace the curly braces with square brackets, you'd be defining a HashMap in Groovy.
对于Groovy程序员来说,JSON对象看上去应该更熟悉:如果将花括号换成方括号的话,在Groovy中就是定义一个HashMap。
If a method body has more than one expression, you must surround it with curly braces {...}. You can omit the braces if the method body has just one expression.
如果一个方法的主体包含多于一个的表达式,你必须用大括号来把它们包起来。你可以在方法主体只有一个表达式的时候省略大括号。
应用推荐