1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef TOOLS_GN_OPERATORS_H_
6 #define TOOLS_GN_OPERATORS_H_
7 
8 class BinaryOpNode;
9 class Err;
10 class ParseNode;
11 class Scope;
12 class UnaryOpNode;
13 class Value;
14 
15 Value ExecuteUnaryOperator(Scope* scope,
16                            const UnaryOpNode* op_node,
17                            const Value& value,
18                            Err* err);
19 Value ExecuteBinaryOperator(Scope* scope,
20                             const BinaryOpNode* op_node,
21                             const ParseNode* left,
22                             const ParseNode* right,
23                             Err* err);
24 
25 #endif  // TOOLS_GN_OPERATORS_H_
26