chromium/third_party/angle/src/compiler/translator/NodeType.h

//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

#ifndef COMPILER_TRANSLATOR_NODETYPE_H_
#define COMPILER_TRANSLATOR_NODETYPE_H_

#include "compiler/translator/tree_util/IntermTraverse.h"

namespace sh
{

enum class NodeType
{};

// This is a function like object instead of a function that stack allocates this because
// TIntermTraverser is a heavy object to construct.
class GetNodeType : private TIntermTraverser
{};

}  // namespace sh

#endif  // COMPILER_TRANSLATOR_NODETYPE_H_