Sha256: 71a8f4e547fec52adc26ef7334e00e88250e5ecaf038ce59f8a8bb469b8bfdd5

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

/*
 *
 *   Copyright (c) 2016, Masatake YAMATO
 *   Copyright (c) 2016, Red Hat, K.K.
 *
 *   This source code is released for free distribution under the terms of the
 *   GNU General Public License version 2 or (at your option) any later version.
 *
 */

#ifndef CTAGS_YAML__H
#define CTAGS_YAML__H

#include "general.h"
#include "types.h"

#ifdef HAVE_LIBYAML
#include <yaml.h>
#else
#define yaml_token_t void
#endif

typedef void (* yamlCallback) (yaml_token_t *token, void *data);

struct yamlParserClient {
	langType lang;
	yamlCallback callback;
	void* (* inputStart) (void);
	void  (* inputEnd) (void*);
	void *data;
};

extern void registerYamlParserClient (struct yamlParserClient *client);
extern void runYamlParser (const yamlCallback callback, void* userData);
extern void attachYamlPosition (tagEntryInfo *tag, yaml_token_t *token, bool asEndPosition);

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/parsers/meta-yaml.h
ctags.rb-1.1.3 ext/vendor/ctags/parsers/meta-yaml.h