首页 > 其他 > 详细

五、运算符

时间:2020-03-02 20:30:57      阅读:63      评论:0      收藏:0      [点我收藏+]

原文地址

Operators

五、运算符

This section gives short explanation of operator options.
For detailed discussion about “forward” and “backward” search, please read section Introduction.

技术分享图片

Operators are split into two groups: Operators1 and Operators2.

Operators1

This is a “forward” search group.
These operators can be “glued” to other keywords. You can use it to define operators like:

! && << >> + - _ %

In short: these should be special non-alphanumeric characters

Operators2

This is a “backward” search group.
These operators can NOT be “glued” to other keywords. They must be separated from rest of the code by whitespace or by other “forward” search keywords.You can use it to define operators like:

and or not in out like

In short: operators that look like keywords

Operators2 group is just another keyword group, Keyword group 9 if you will. I added it here just for easier use of UDL 2.1 GUI, and for better understanding of how operators work. Users could define the same keyword list in keywords groups 1 through 8 and there would be no difference.

技术分享图片

As demonstrated in picture above, Operators1 are always highlighted, and Operators2 are highlighted only if separated from rest of the code.

五、运算符

原文:https://www.cnblogs.com/xin04/p/12397602.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!