短语“绑定更强"是什么意思?意思是? [英] What does the phrase "binds stronger" mean?

查看:115
本文介绍了短语“绑定更强"是什么意思?意思是?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这可能是一个新手问题,但我想弄清楚这句话(摘自有关使用EBNF的元语言的论文):

I know this might be a newbie question, but I'm trying to make sense of this sentence(from a paper on a meta language that uses EBNF):

 Logical and (&) binds stronger than logical or (|). 

在此之前它说:

Conditions are: 
  condition ::= condition (`&´ | `|´ ) condition | `!´ condition | relation 
  relation ::= expression ( `=´ | `#´ | `<´ | `<=´ | `>´ | `>=´ ) expression 

谢谢

推荐答案

这是指优先级 .换句话说,如果您有A & B | C,则您确实有(A & B) | C.优先级较高/绑定更强的操作.

This refers to precedence. In other words, if you have A & B | C, you really have (A & B) | C. Operations with higher precedence/that bind stronger are evaluated first.

这篇关于短语“绑定更强"是什么意思?意思是?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆