Skip to content

Commit

Permalink
chore: update readme, rename MapVisitor to MapAstVisitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Lavuš committed Feb 3, 2021
1 parent d913d31 commit f18f4c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Added `IterationAtomNode`
* Added `IterationAtomNode` to `CallStatementNode` and `InlineCallNode`
* Added `ConditionAtomNode` to `InlineCallNode`
* Moved `ProfileAstVisitor` and `MapAstVisitor` from sdk package

### Changed
* Renamed `StatementConditionNode` to `ConditionAtomNode`
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/ast/map-ast.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function isInlineCallNode(node: MapASTNode): node is InlineCallNode {
return node.kind === 'InlineCall';
}

export interface MapVisitor<R = unknown> {
export interface MapAstVisitor<R = unknown> {
visit(node: MapASTNode): R;

visitPrimitiveLiteralNode(node: PrimitiveLiteralNode): R;
Expand Down

0 comments on commit f18f4c6

Please sign in to comment.