diff options
Diffstat (limited to 'gfx/angle/checkout/src/compiler/translator/tree_util/FindSymbolNode.h')
-rw-r--r-- | gfx/angle/checkout/src/compiler/translator/tree_util/FindSymbolNode.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/FindSymbolNode.h b/gfx/angle/checkout/src/compiler/translator/tree_util/FindSymbolNode.h new file mode 100644 index 0000000000..09349484a4 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/FindSymbolNode.h @@ -0,0 +1,23 @@ +// +// Copyright 2015 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. +// +// FindSymbolNode.h: +// Utility for finding a symbol node inside an AST tree. + +#ifndef COMPILER_TRANSLATOR_TREEUTIL_FINDSYMBOLNODE_H_ +#define COMPILER_TRANSLATOR_TREEUTIL_FINDSYMBOLNODE_H_ + +namespace sh +{ + +class ImmutableString; +class TIntermNode; +class TIntermSymbol; + +const TIntermSymbol *FindSymbolNode(TIntermNode *root, const ImmutableString &symbolName); + +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEUTIL_FINDSYMBOLNODE_H_ |