Skip to content

Commit a707bfe

Browse files
committed
Remove empty @param declarations from acorn-walk type declarations
1 parent 7f1dff1 commit a707bfe

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

acorn-walk/src/walk.d.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ export function simple<TState>(
6666

6767
/**
6868
* does a 'simple' walk over a tree, building up an array of ancestor nodes (including the current node) and passing the array to the callbacks as a third parameter.
69-
* @param node
70-
* @param visitors
71-
* @param base
72-
* @param state
7369
*/
7470
export function ancestor<TState>(
7571
node: acorn.Node,
@@ -94,10 +90,6 @@ export function recursive<TState>(
9490

9591
/**
9692
* does a 'full' walk over a tree, calling the {@link callback} with the arguments (node, state, type) for each node
97-
* @param node
98-
* @param callback
99-
* @param base
100-
* @param state
10193
*/
10294
export function full<TState>(
10395
node: acorn.Node,
@@ -108,10 +100,6 @@ export function full<TState>(
108100

109101
/**
110102
* does a 'full' walk over a tree, building up an array of ancestor nodes (including the current node) and passing the array to the callbacks as a third parameter.
111-
* @param node
112-
* @param callback
113-
* @param base
114-
* @param state
115103
*/
116104
export function fullAncestor<TState>(
117105
node: acorn.Node,
@@ -122,8 +110,6 @@ export function fullAncestor<TState>(
122110

123111
/**
124112
* builds a new walker object by using the walker functions in {@link functions} and filling in the missing ones by taking defaults from {@link base}.
125-
* @param functions
126-
* @param base
127113
*/
128114
export function make<TState>(
129115
functions: RecursiveVisitors<TState>,
@@ -132,12 +118,6 @@ export function make<TState>(
132118

133119
/**
134120
* tries to locate a node in a tree at the given start and/or end offsets, which satisfies the predicate test. {@link start} and {@link end} can be either `null` (as wildcard) or a `number`. {@link test} may be a string (indicating a node type) or a function that takes (nodeType, node) arguments and returns a boolean indicating whether this node is interesting. {@link base} and {@link state} are optional, and can be used to specify a custom walker. Nodes are tested from inner to outer, so if two nodes match the boundaries, the inner one will be preferred.
135-
* @param node
136-
* @param start
137-
* @param end
138-
* @param type
139-
* @param base
140-
* @param state
141121
*/
142122
export function findNodeAt<TState>(
143123
node: acorn.Node,
@@ -150,11 +130,6 @@ export function findNodeAt<TState>(
150130

151131
/**
152132
* like {@link findNodeAt}, but will match any node that exists 'around' (spanning) the given position.
153-
* @param node
154-
* @param start
155-
* @param type
156-
* @param base
157-
* @param state
158133
*/
159134
export function findNodeAround<TState>(
160135
node: acorn.Node,

0 commit comments

Comments
 (0)