public void AddFile(LambdaExpression node, ExpressionDefinitions?definitions = null)
        {
            definitions ??= _options?.DefaultDefinitions ?? new ExpressionDefinitions {
                IsStatic = true
            };
            definitions.TypeName ??= "Program";

            var translator = ExpressionTranslator.Create(node, definitions);
            var script     = translator.ToString();

            Translators.Add(translator);

            this.AddFile(script, Path.ChangeExtension(Path.GetRandomFileName(), ".cs"));
        }
        /// <summary>
        /// Generate script text
        /// </summary>
        public static string ToScript(this Expression node, ExpressionDefinitions?definitions = null)
        {
            var translator = ExpressionTranslator.Create(node, definitions);

            return(translator.ToString());
        }