feat(dependencies): 添加 EvalEx 表达式求值库
This commit is contained in:
@@ -381,6 +381,14 @@
|
||||
<artifactId>rhino</artifactId>
|
||||
<version>${rhino.version}</version>
|
||||
</dependency>
|
||||
<!-- Expression expression = new Expression("2 + 3 * 4");-->
|
||||
<!-- EvaluationValue result = expression.evaluate();-->
|
||||
<!-- System.out.println(result.getNumberValue()); // 输出 14-->
|
||||
<dependency>
|
||||
<groupId>com.ezylang</groupId>
|
||||
<artifactId>EvalEx</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
|
||||
@@ -377,6 +377,14 @@
|
||||
<artifactId>rhino</artifactId>
|
||||
<version>1.8.0</version>
|
||||
</dependency>
|
||||
<!-- Expression expression = new Expression("2 + 3 * 4");-->
|
||||
<!-- EvaluationValue result = expression.evaluate();-->
|
||||
<!-- System.out.println(result.getNumberValue()); // 输出 14-->
|
||||
<dependency>
|
||||
<groupId>com.ezylang</groupId>
|
||||
<artifactId>EvalEx</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user