go top

guard expression

网络释义

  表达式

边上还可添加监护表达式Guard Expression)作为状态转移的前提条件,即在满足监护表达式的情况下,状态转移才能发生。

基于16个网页-相关网页

有道翻译

guard expression

警卫队表达式

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • In this example, the only difference between the two patterns is the guard expression, but that's enough for the compiler to differentiate them.

    这个例子里,两个模式唯一区别就是这个守卫表达式但是这样足够编译区分它们了。

    youdao

  • This case only succeeds if the accompanying guard expression (the if expression that follows it) succeeds, which will only happen for the first Person but not the second.

    这个case只有在同时提供的起保护作用的表达式(跟在后边的if表达式)成功时才成功,只有第一Person这样第二个就不会了。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定