方法组仅允许用在调用表达式(invocation-expression)和委托创建表达式(delegate-creation-expression)中,在其它场合使用会引起编译时错误。
基于28个网页-相关网页
To use an XPath expression within parameters that expect a static string, dynamic XPath expression invocation can be done by wrapping the expression within braces ({and}).
要在期望静态字符串的参数中使用XPath表达式,可以通过将表达式封装在括号({和})中来调用动态xpath表达式。
When this macro executes, it will match the my-if expression up to the template like this (in other words, matching a macro invocation to a macro definition pattern).
在这个宏执行时,它按照以下形式将my - if表达式与模板进行匹配(换句话说,将宏调用与宏定义模式进行匹配)。
The story is slightly different when the diamond expression appears in a method-invocation context. Consider a Box that appears as an argument to the m() method
在 diamond 表达式出现在方法调用上下文时会有轻微的不同。
应用推荐