Module sapio_miniscript::miniscript::lex
source · [−]Expand description
Lexer
Translates a script into a reversed sequence of tokens
Structs
Iterator that goes through a vector of tokens backward (our parser wants to read
backward and this is more efficient anyway since we can use Vec::pop()
).
Enums
Atom of a tokenized version of a script
Functions
Tokenize a script