-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
Hello!
Is it possible to reference the parameter to Parser.parse()
in a parser definition? I.e. something like:
const parser = new Parser()
.choice({
tag: "$target.length"
choices: {
2: /* buffer is two bytes long */,
4: /* buffer is four bytes long */,
6: /* buffer is six bytes long */
}
});
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels