kythe.io@v0.0.68-0.20240422202219-7225dbc01741/third_party/souffle/parse_transform.h (about)

     1  #ifndef THIRD_PARTY_SOUFFLE_PARSE_TRANSFORM_H_
     2  #define THIRD_PARTY_SOUFFLE_PARSE_TRANSFORM_H_
     3  
     4  #include "ram/TranslationUnit.h"
     5  
     6  #include <memory>
     7  #include <string>
     8  
     9  namespace souffle {
    10  /// \brief Parses and transforms `code` into a `ram::TranslationUnit`.
    11  /// \param code the Souffle program to transform.
    12  /// \return the resulting translation unit or null on error.
    13  std::unique_ptr<ram::TranslationUnit> ParseTransform(const std::string& code);
    14  }  // namespace souffle
    15  
    16  #endif  // defined(THIRD_PARTY_SOUFFLE_PARSE_TRANSFORM_H_)