a1a0b92b04
This will be used by the upcoming DSLParser, which needs to be able to put DSLExpression and DSLVar into containers such as std::vector and std::optional. Change-Id: I8d367cfd0b3a852a368c69a5b3be6c0eaa41d74a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/404156 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
32 lines
568 B
C++
32 lines
568 B
C++
/*
|
|
* Copyright 2020 Google LLC
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef SKSL_DSL
|
|
#define SKSL_DSL
|
|
|
|
#include "include/sksl/DSLCore.h"
|
|
|
|
namespace SkSL {
|
|
|
|
namespace dsl {
|
|
|
|
using Block = DSLBlock;
|
|
using Case = DSLCase;
|
|
using Expression = DSLExpression;
|
|
using Field = DSLField;
|
|
using Function = DSLFunction;
|
|
using Modifiers = DSLModifiers;
|
|
using Statement = DSLStatement;
|
|
using Var = DSLVar;
|
|
template<typename T> using Wrapper = DSLWrapper<T>;
|
|
|
|
} // namespace dsl
|
|
|
|
} // namespace SkSL
|
|
|
|
#endif
|