它构建了一行字符串,该字符串包含从root到当前行的所有元素。
It builds a string containing all elements from the root to the current row.
出于演示的目的,下面的清单只显示了对(多)行字符串的处理,而省略了错误处理。
The listing shows only the handling for (multi-)linestrings and also omits the error handling for illustration purposes.
最后,将前面一行返回的字符串写到响应中。
Finally, the string that was returned in the previous line is written to the response.
So, I'm getting a string and so what really am I doing in this line of code?
那么,我得到一个字符串,这行代码实际上是干什么的呢?
So the very last two lines of code I'm saying this, s2 the original string is s1, the copy of the string is s2, but if I haven't lost you, what are we really going to see when we print this?
最后两行代码是这样的,原字符串是s1,那个字符串的拷贝是,但是如果我没有忘记,当我们打印的时候,我们将看到什么?
应用推荐