/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SKSL_MODIFIERFLAGS #define SKSL_MODIFIERFLAGS #include "include/private/base/SkTo.h" #include "src/base/SkEnumBitMask.h" #include <string> namespace SkSL { class Context; class Position; enum class ModifierFlag : int { … }; } // namespace SkSL SK_MAKE_BITMASK_OPS(SkSL::ModifierFlag); namespace SkSL { class ModifierFlags : public SkEnumBitMask<SkSL::ModifierFlag> { … }; } // namespace SkSL #endif