import{_ as t,c as a,o as n,m as e,a as o}from"./chunks/framework.Cy9JvDAg.js";const k=JSON.parse('{"title":"3.4.8 - 优先级","description":"","frontmatter":{"title":"3.4.8 - 优先级","footer":true,"lastUpdated":true,"outline":false},"headers":[],"relativePath":"3.4.8.md","filePath":"3.4.8.md"}'),s={name:"3.4.8.md"},r=e("h3",{id:"_3-4-8-优先级",tabindex:"-1"},[o("3.4.8 - 优先级 "),e("a",{class:"header-anchor",href:"#_3-4-8-优先级","aria-label":'Permalink to "3.4.8 - 优先级"'},"​")],-1),_=e("p",null,"Lua中操作符的优先级（从低到高）如下所示：",-1),c=e("pre",null,`or
and
<     >     <=    >=    ~=    ==
|
~
&
<<    >>
..
+     -
*     /     //    %
unary operators (not   #     -     ~)
`,-1),d=e("p",null,"通常，你可以通过使用圆括号来改变表达式中的优先级。连接符（'..'）和幂运算（'^'）都是随右边的。所有其他的二元操作符都是随左边的。",-1),l=[r,_,c,d];function i(p,h,u,f,m,x){return n(),a("div",null,l)}const B=t(s,[["render",i]]);export{k as __pageData,B as default};
