Sha256: 0e1abdf821ceeb032336c784982608143cddd2dd321304e5704da5badf715bd1

Contents?: true

Size: 958 Bytes

Versions: 4

Compression:

Stored size: 958 Bytes

Contents

//
//  drafter.h
//
//  drafter
//
//  Created by Jiri Kratochvil on 2015-03-05
//  Copyright (c) 2015 Apiary Inc. All rights reserved.
//

#ifndef DRAFTER_H
#define DRAFTER_H

#include "snowcrash.h"


/**
 *  API Blueprint Parser Interface
 *  ------------------------------
 *
 *  This is the parser's entry point.
 */

namespace drafter {

    /**
     *  \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 additional options.
     *  \param out          Output buffer to store parsing result into.
     *  \return Error status code. Zero represents success, non-zero a failure.
     */
    int ParseBlueprint(const mdp::ByteBuffer& source,
              snowcrash::BlueprintParserOptions options,
              const snowcrash::ParseResultRef<snowcrash::Blueprint>& out);
}

#endif // #ifndef DRAFTER_H

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redsnow-0.4.4 ext/drafter/src/drafter.h
redsnow-0.4.3 ext/drafter/src/drafter.h
redsnow-0.4.1 ext/drafter/src/drafter.h
redsnow-0.4.0 ext/drafter/src/drafter.h