1 /* 2 * Copyright 2021 Google LLC. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SKSL_DSL_PRIV 9 #define SKSL_DSL_PRIV 10 11 #include "include/private/SkSLProgramKind.h" 12 13 namespace SkSL { 14 15 class Compiler; 16 struct ProgramSettings; 17 18 namespace dsl { 19 20 /** 21 * Initializes the DSL for compiling modules (SkSL include files). 22 */ 23 void StartModule(SkSL::Compiler* compiler, 24 SkSL::ProgramKind kind, 25 const SkSL::ProgramSettings& settings, 26 const SkSL::Module* parent); 27 28 } // namespace dsl 29 30 } // namespace SkSL 31 32 #endif 33