/*
This file is part of QuantSupport's Rust rewrite and adaptation of the
derivatives scripting code written by Antoine Savine in 2018.
The original code is the strict intellectual property of Antoine Savine.
A license to use and alter the original code for personal and commercial
applications is freely granted to any person or company that purchased a copy
of the book:
Modern Computational Finance: Scripting for Derivatives and XVA
Jesper Andreasen and Antoine Savine
Wiley, 2018
This attribution and license notice must be preserved at the top of this file.
*/
/// Tokenizer for the payoff scripting language.
/// Parser that builds scripting AST nodes from tokens.