...闲语法,并不是所有通例的理会主题(the conventional parser topics)都能应用到html,一个法则集包括卷曲的花括号(curly braces)和声明可能是被分号(semicolon)分隔的可选的数字声明, 主要流程 渲染引擎从网络层开始获取请求文档的内容。
基于31个网页-相关网页
There is some stupid syntax, like curly braces and semicolons, that initially is kind of annoying because you have to remember where all this goes.
有一些愚蠢的语法,像花括号和分号,一开始是有点烦人的,因为你必须记住所有的这些要放到哪里。
So we don't need the curly braces.
所以我们不需要那个花括号。
大卫:花括号。
Expect the address of an int but here in the context of the function itself inside the curly braces, it means go to that address.
一个整型数的地址,但是在函数,大括号中的环境中,意思是定位到那个地址。
You can put a variable there, and because it's not encapsulated in curly braces, as we just discussed, that essentially means it's accessible everywhere in that file.
你可以加入一个变量,因为它不是封装在花括号里,就像我们刚才讨论的,本质的意思是它可以在文件的所有地方,都可以被访问到。
In fact, this example would compile because you can use curly braces in this way to encapsulate lines of code, but realize for now, that, not good.
实际上,这个例子可以编译,因为你可以用这种方式来压缩代码行,但是请认识到,那个,不太好。
应用推荐