这个方法让我们不需要手动复制语法树中没有变更的部分。
This method removes the need to manually copy the unchanged portions of the syntax tree.
除了这样,我们其实还可以直接复制旧的语法。
为创建EventSource断言的[syntax]部分,我们要先复制规范的9.1节中展示的语法,如下所示。
To create the [syntax] section for the EventSource assertion we will first copy the syntax as shown in section 9.1 of the specification, reproduced below.
So it's an address, it's a pointer, address pointer, synonyms for now, so it's the address of a char so this makes sense because s1 is also the address of a char so if I wanted to make a copy of that address this is absolutely the right syntax.
是一个地址,是一个指针,地址指针,也就是,char型数据的地址,这是有意义的,因为s1也是一个char型数据的地址,所以如果我想要复制那个地址,这个绝对是正确的语法。
应用推荐