Ethan Nicholas | 55a63af | 2021-05-18 10:12:58 -0400 | [diff] [blame] | 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_PARSEDMODULE |
| 9 | #define SKSL_PARSEDMODULE |
| 10 | |
| 11 | #include <memory> |
| 12 | |
| 13 | namespace SkSL { |
| 14 | |
| 15 | class SymbolTable; |
Ethan Nicholas | 58014fa | 2021-09-29 17:18:18 -0400 | [diff] [blame^] | 16 | class IntrinsicMap; |
Ethan Nicholas | 55a63af | 2021-05-18 10:12:58 -0400 | [diff] [blame] | 17 | |
| 18 | struct ParsedModule { |
Ethan Nicholas | 58014fa | 2021-09-29 17:18:18 -0400 | [diff] [blame^] | 19 | std::shared_ptr<SymbolTable> fSymbols; |
| 20 | std::shared_ptr<IntrinsicMap> fIntrinsics; |
Ethan Nicholas | 55a63af | 2021-05-18 10:12:58 -0400 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | } //namespace SkSL |
| 24 | |
| 25 | #endif |