Landing Recent QUIC changes until 8/19/2015 17:00 UTC.
[chromium-blink-merge.git] / tools / gn / operators.h
blob82ff68e7578d3245cf195c312110ddf50773bacb
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.
5 #ifndef TOOLS_GN_OPERATORS_H_
6 #define TOOLS_GN_OPERATORS_H_
8 class BinaryOpNode;
9 class Err;
10 class ParseNode;
11 class Scope;
12 class UnaryOpNode;
13 class Value;
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);
25 #endif // TOOLS_GN_OPERATORS_H_