File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 557
557
bump(stream [, flags=EMPTY_FLAGS];
558
558
skip_newlines=false, error, remap_kind)
559
559
560
- Shift the current token from the input to the output, adding the given flags.
560
+ Copy the current token from the input stream to the output. Adds the given
561
+ flags to the output token (normally this would be the default `EMPTY_FLAGS` or
562
+ `TRIVIA_FLAG`).
563
+
564
+ Keyword arguments:
565
+ * `skip_newlines` - if `true`, newlines are treated as whitespace.
566
+ * `error` - if set, emit an error for this token
567
+ * `remap_kind` - the kind of the token in the output token stream if it needs
568
+ to be modified.
561
569
"""
562
570
function bump (stream:: ParseStream , flags= EMPTY_FLAGS; skip_newlines= false ,
563
571
error= nothing , remap_kind:: Kind = K " None" )
You can’t perform that action at this time.
0 commit comments