The last token read (closing parenthesis) is not the cause of the error.
最后一次符号读取(结束括号)并不是这个错误的根源。
Expressions must not begin with an operator, comma, or closing parenthesis.
不可以用操作符、逗号或闭括号作为表达式的开始符。
If the character is a closing parenthesis, pop all operators until you reach an opening parenthesis and append them to the result string.
如果字符是个闭括号(closing parenthesis),在遇见开括号前,弹出所有操作符,然后把它们添加到结果字符串。
Note that where the final parameter to a method is a closure, Groovy permits that you can remove it from the list of actual parameters and place it immediately after the closing parenthesis.
注意方法的最后一个参数是个闭包,在这个地方Groovy允许把它从实际参数列表中删除,并把它直接放在结束括号后面。
Typing the closing parenthesis also closes the Parameters list.
键入右括号也会关闭“参数”列表。
KH: You might say that emoticons are the best way to go about that—a little winking emoticon—you know, semicolon, dash, closing parenthesis.
也许表情符号是表达反语的最好方式,例如一个眨眼的表情符号——由分号,破折号和右括号组成。
KH: You might say that emoticons are the best way to go about that—a little winking emoticon—you know, semicolon, dash, closing parenthesis.
也许表情符号是表达反语的最好方式,例如一个眨眼的表情符号——由分号,破折号和右括号组成。
应用推荐