LCOV - code coverage report
Current view: top level - src/torque - torque-compiler.h (source / functions) Hit Total Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2019-03-21 Functions: 0 0 -

          Line data    Source code
       1             : // Copyright 2019 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_COMPILER_H_
       6             : #define V8_TORQUE_TORQUE_COMPILER_H_
       7             : 
       8             : #include "src/torque/ast.h"
       9             : #include "src/torque/contextual.h"
      10             : #include "src/torque/source-positions.h"
      11             : #include "src/torque/utils.h"
      12             : 
      13             : namespace v8 {
      14             : namespace internal {
      15             : namespace torque {
      16             : 
      17          15 : struct TorqueCompilerOptions {
      18             :   std::string output_directory;
      19             :   bool verbose;
      20             :   bool collect_language_server_data;
      21             :   bool abort_on_lint_errors;
      22             : };
      23             : 
      24             : V8_EXPORT_PRIVATE void CompileTorque(const std::string& source,
      25             :                                      TorqueCompilerOptions options);
      26             : void CompileTorque(std::vector<std::string> files,
      27             :                    TorqueCompilerOptions options);
      28             : 
      29             : }  // namespace torque
      30             : }  // namespace internal
      31             : }  // namespace v8
      32             : 
      33             : #endif  // V8_TORQUE_TORQUE_COMPILER_H_

Generated by: LCOV version 1.10