Skip to content

Commit c42f8e2

Browse files
author
slince
committed
f
1 parent 31a45ce commit c42f8e2

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>io.github.slince</groupId>
1616
<artifactId>expression</artifactId>
17-
<version>0.0.1</version>
17+
<version>0.0.2-RELEASE</version>
1818
</dependency>
1919
```
2020

@@ -24,7 +24,7 @@ ObjectPath:
2424
<dependency>
2525
<groupId>io.github.slince</groupId>
2626
<artifactId>expression-data-path</artifactId>
27-
<version>0.0.1</version>
27+
<version>0.0.2-RELEASE</version>
2828
</dependency>
2929
```
3030
ObjectPath 使用文档见[这里](./docs/zh_CN/objectpath.md)

README_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ An expressive expression engine.
1414
<dependency>
1515
<groupId>io.github.slince</groupId>
1616
<artifactId>expression</artifactId>
17-
<version>0.0.1</version>
17+
<version>0.0.2-RELEASE</version>
1818
</dependency>
1919
```
2020
ObjectPath:
@@ -23,7 +23,7 @@ ObjectPath:
2323
<dependency>
2424
<groupId>io.github.slince</groupId>
2525
<artifactId>expression-data-path</artifactId>
26-
<version>0.0.1</version>
26+
<version>0.0.2-RELEASE</version>
2727
</dependency>
2828
```
2929
ObjectPath [Documentation](./docs/zh_CN/objectpath.md)

expression/src/main/java/io/github/slince/expression/visitor/NodeTraverser.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public NodeTraverser(List<NodeVisitor> visitors){
1717
this.visitors = visitors;
1818
}
1919

20+
/**
21+
* Traverse the given node.
22+
* @param node the ast node
23+
* @return alternate node
24+
*/
2025
public Node traverse(Node node){
2126
for (NodeVisitor visitor : visitors) {
2227
node = this.traverseNode(visitor, node, new NodeMetadataCollection());

0 commit comments

Comments
 (0)