📄 acme.dsl
字号:
[condition][]There is a Driver=Driver()[condition][]- age less than {age} years old=age < {age}[condition][]- age is equal to {age} years old=age == {age}[condition][]- age greater than {age} years old=age > {age}[condition][]- has had more than {number} prior claims=priorClaims > {number}[condition][]- is male=genre == Driver.MALE[condition][]- age is at least {age}=age >= {age}[condition][]- age is between {lower} and {upper} years old=age >= {lower}, age <= {upper}[condition][]- has had exactly {number} prior claims=priorClaims == {number}[condition][]- is maried=martialStatus == Driver.MARRIED[consequence][]Reject Policy with explanation : '{reason}'=insert(new Rejection("{reason}"));[condition][]Policy has not been rejected=not Rejection()[consequence][]Approve Policy with the reason : '{reason}'=insert(new Approve("{reason}"));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -