Sha256: b91f1272be96c2aadf2fe8bd6ff40f9d376c61f03508848380d5e97ef10962bd
Contents?: true
Size: 1.13 KB
Versions: 8
Compression:
Stored size: 1.13 KB
Contents
// // snowcrash.h // snowcrash // // Created by Zdenek Nemec on 4/2/13. // Copyright (c) 2013 Apiary Inc. All rights reserved. // #ifndef SNOWCRASH_H #define SNOWCRASH_H #include "Parser.h" /** * API Blueprint Parser Interface * ------------------------------ * * This is the parser's entry point. * * For Snow Crash users, this is the only interface to use. * * For binding writers, this is the point to start wrapping. * Refer to https://github.com/apiaryio/snowcrash/wiki/Writing-a-binding * for details on how to write a Snow Crash binding. */ namespace snowcrash { /** * \brief Parse the source data into a blueprint abstract source tree (AST). * * \param source A textual source data to be parsed. * \param options Parser options. Use 0 for no addtional options. * \param result Parsing result report. * \param blueprint Parsed blueprint AST. * \return Error status code. Zero represents success, non-zero a failure. */ int parse(const SourceData& source, BlueprintParserOptions options, Result& result, Blueprint& blueprint); } #endif
Version data entries
8 entries across 8 versions & 1 rubygems