blob: 08dfb9a22240caa6705b5a972c5d263facd50242 [file] [log] [blame]
Olli Etuaho09b04a22016-12-15 13:30:26 +00001//
2// Copyright (c) 2015 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6// FindSymbolNode.h:
7// Utility for finding a symbol node inside an AST tree.
8
9#ifndef COMPILER_TRANSLATOR_FIND_SYMBOL_H_
10#define COMPILER_TRANSLATOR_FIND_SYMBOL_H_
11
12#include "compiler/translator/BaseTypes.h"
13#include "compiler/translator/Common.h"
14
15namespace sh
16{
17
18class TIntermNode;
19class TIntermSymbol;
20
21const TIntermSymbol *FindSymbolNode(TIntermNode *root,
22 const TString &symbolName,
23 TBasicType basicType);
24
25} // namespace sh
26
27#endif // COMPILER_TRANSLATOR_FIND_SYMBOL_H_