Sha256: eb698131124befbcaf59d6d51153bf2be3ba0f2c436fc92d267fd3a326e685b8

Contents?: true

Size: 1.19 KB

Versions: 15

Compression:

Stored size: 1.19 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 "BlueprintSourcemap.h"
#include "SourceAnnotation.h"
#include "SectionParser.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 additional options.
     *  \param out          Output buffer to store parsing result into.
     *  \return Error status code. Zero represents success, non-zero a failure.
     */
    int parse(const mdp::ByteBuffer& source,
              BlueprintParserOptions options,
              const ParseResultRef<Blueprint>& out);
}

#endif

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
redsnow-0.4.4 ext/drafter/ext/snowcrash/src/snowcrash.h
lounge_lizard-0.1.4 ext/drafter/ext/snowcrash/src/snowcrash.h
lounge_lizard-0.1.3 ext/drafter/ext/snowcrash/src/snowcrash.h
lounge_lizard-0.1.2 ext/drafter/ext/snowcrash/src/snowcrash.h
lounge_lizard-0.1.1 ext/drafter/ext/snowcrash/src/snowcrash.h
lounge_lizard-0.1.0 ext/drafter/ext/snowcrash/src/snowcrash.h
redsnow-0.4.3 ext/drafter/ext/snowcrash/src/snowcrash.h
redsnow-0.4.1 ext/drafter/ext/snowcrash/src/snowcrash.h
redsnow-0.4.0 ext/drafter/ext/snowcrash/src/snowcrash.h
redsnow-0.3.7 ext/snowcrash/src/snowcrash.h
redsnow-0.3.4 ext/snowcrash/src/snowcrash.h
redsnow-0.3.3 ext/snowcrash/src/snowcrash.h
redsnow-0.3.2 ext/snowcrash/src/snowcrash.h
redsnow-0.3.1 ext/snowcrash/src/snowcrash.h
redsnow-0.3.0 ext/snowcrash/src/snowcrash.h