1 | // Copyright 2018 the V8 project 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 V8_TORQUE_TORQUE_PARSER_H_ |
6 | #define V8_TORQUE_TORQUE_PARSER_H_ |
7 | |
8 | #include "src/torque/ast.h" |
9 | |
10 | namespace v8 { |
11 | namespace internal { |
12 | namespace torque { |
13 | |
14 | // Adds the parsed input to {CurrentAst} |
15 | void ParseTorque(const std::string& input); |
16 | |
17 | } // namespace torque |
18 | } // namespace internal |
19 | } // namespace v8 |
20 | |
21 | #endif // V8_TORQUE_TORQUE_PARSER_H_ |
22 | |