PLUGIN html
lang: "C++"
version: "1.0"
date: "2022-03-20"
author: "Julien BRUGUIER"
maintainer: "Julien BRUGUIER "
synopsis: "Plugin to manage HTML documents"
description:
%{
This plugin is an HTML document manager allowing operations on the DOM.
%}
comment flex: "/*" " * " " */"
comment bison: "/*" " * " " */"
includes:
%{
#include
#include
#include
#include
#include
%}
code:
%{
struct yy_buffer_state;
void htmlparserlex_init(void **);
void htmlparserlex_destroy(void *);
yy_buffer_state* htmlparser_scan_buffer(char *, size_t, void*);
void htmlparser_delete_buffer(yy_buffer_state *buffer, void *scanner);
int htmlparserparse(void *scanner, Html::Dom &dom);
%}
file source: "src/html.h"
%{
#pragma once
#include
#include
#include
#include
#include
#include