Modest/source/mycss/selectors/function_resource.h

91 lines
3.2 KiB
C

/*
Copyright (C) 2016-2017 Alexander Borisov
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Author: lex.borisov@gmail.com (Alexander Borisov)
*/
#ifndef MyHTML_MyCSS_SELECTORS_FUNCTION_RESOURCE_H
#define MyHTML_MyCSS_SELECTORS_FUNCTION_RESOURCE_H
#pragma once
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 57
static const mycss_selectots_function_begin_entry_t mycss_selectors_function_begin_map_index[] =
{
{NULL, 0, NULL, 0, 0},
{"dir", 3, mycss_selectors_function_begin_dir, 0, 1},
{NULL, 0, NULL, 0, 0},
{"nth-of-type", 11, mycss_selectors_function_begin_nth_of_type, 0, 3},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"nth-last-column", 15, mycss_selectors_function_begin_nth_last_column, 0, 13},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"current", 7, mycss_selectors_function_begin_current, 0, 19},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"matches", 7, mycss_selectors_function_begin_matches, 0, 23},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"has", 3, mycss_selectors_function_begin_has, 0, 28},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"not", 3, mycss_selectors_function_begin_not, 0, 34},
{"nth-last-of-type", 16, mycss_selectors_function_begin_nth_last_of_type, 0, 35},
{NULL, 0, NULL, 0, 0},
{"lang", 4, mycss_selectors_function_begin_lang, 0, 37},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"nth-last-child", 14, mycss_selectors_function_begin_nth_last_child, 0, 44},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"nth-column", 10, mycss_selectors_function_begin_nth_column, 0, 47},
{NULL, 0, NULL, 0, 0},
{"nth-child", 9, mycss_selectors_function_begin_nth_child, 0, 49},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"contains", 8, mycss_selectors_function_begin_contains, 0, 52},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{NULL, 0, NULL, 0, 0},
{"drop", 4, mycss_selectors_function_begin_drop, 0, 56},
{NULL, 0, NULL, 0, 0},
};
#endif /* MyHTML_MyCSS_SELECTORS_FUNCTION_RESOURCE_H */