Sha256: 236e89cbc21011b1cb88efb4e3bd6cd12596560dfc13249981b791bb9219fabb

Contents?: true

Size: 932 Bytes

Versions: 6

Compression:

Stored size: 932 Bytes

Contents

//
//  Signature.h
//  snowcrash
//
//  Created by Zdenek Nemec on 5/14/14.
//  Copyright (c) 2014 Apiary Inc. All rights reserved.
//

#ifndef SNOWCRASH_SIGNATURE_H
#define SNOWCRASH_SIGNATURE_H

#include "MarkdownNode.h"
#include "Section.h"

namespace snowcrash {

    /**
     *  \brief Query whether a node has keyword-defined signature.
     *  \param node     A Markdown AST node to check.
     *  \return Type of the node if it has a recognized keyword signature, UndefinedType otherwise
     */
    extern SectionType SectionKeywordSignature(const mdp::MarkdownNodeIterator& node);

    /**
     *  \brief Recognize the type of section given the first line from a code block
     *  \param subject  The first line that needs to be recognized
     *  \return SectionType Type of the section if the line contains a keyword
     */
    extern SectionType RecognizeCodeBlockFirstLine(const mdp::ByteBuffer& subject);
}

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
redsnow-0.3.7 ext/snowcrash/src/Signature.h
redsnow-0.3.4 ext/snowcrash/src/Signature.h
redsnow-0.3.3 ext/snowcrash/src/Signature.h
redsnow-0.3.2 ext/snowcrash/src/Signature.h
redsnow-0.3.1 ext/snowcrash/src/Signature.h
redsnow-0.3.0 ext/snowcrash/src/Signature.h