Skip to content

Commit c91640d

Browse files
committed
document getlex_n<[inso]> and bindlex_n<[inso]>
1 parent ffcebf9 commit c91640d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/ops.markdown

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,23 @@ Gets hold of the argument capture passed to the current block.
14931493
It's valid to implement this exactly the same way as savecapture if there's no performance benefit to be had in a split.
14941494
Used by the multi-dispatcher.
14951495

1496+
## getlex_n
1497+
* `getlex_ni(str $name)`
1498+
* `getlex_nn(str $name)`
1499+
* `getlex_ns(str $name)`
1500+
* `getlex_no(str $name)`
1501+
1502+
Looks up the lexical with the specified name and the specified type. An error is thrown if it does not exist or if the
1503+
type is incorrect.
1504+
1505+
## bindlex_n
1506+
* `bindlex_ni(str $name)`
1507+
* `bindlex_nn(str $name)`
1508+
* `bindlex_ns(str $name)`
1509+
* `bindlex_no(str $name)`
1510+
1511+
Binds to the lexical specified by name and type. An error is thrown if it does not exist or if the type is incorrect.
1512+
14961513
# Variable opcodes
14971514

14981515
## bind

0 commit comments

Comments
 (0)