Skip to content

Commit 1eb4d1d

Browse files
improve doc
1 parent f1bdf77 commit 1eb4d1d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

R/token-create.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ create_pos_ids <- function(pd, pos, by = 0.1, after = FALSE, n = 1) {
7676
#' Looks at the current nest as well as into its children (if necessary) to make
7777
#' sure the right id is returned. Otherise, ordering of tokens might not be
7878
#' preserved.
79+
#' @param direction Derived from `after`. `1` if `after = TRUE`, `-1` otherwise.
7980
#' @inheritParams create_pos_ids
8081
find_start_pos_id <- function(pd, pos, by, direction, after) {
8182
if (is.null(pd$child[[pos]])) {

man/find_start_pos_id.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)