📄 cssproperties.c
字号:
/* ANSI-C code produced by gperf version 3.0.1 */
/* Command-line: gperf -a -L ANSI-C -E -C -c -o -t -k '*' -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 cssproperties.gperf */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
&& (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
&& ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
&& ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
&& ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
&& ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
&& ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
&& ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
&& ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
&& ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
&& ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
&& ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
&& ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
&& ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
&& ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
&& ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
&& ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
&& ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
&& ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
&& ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
&& ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
&& ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646. */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
#endif
#line 1 "cssproperties.gperf"
/* This file is automatically generated from cssproperties.in by makeprop, do not edit */
/* Copyright 1999 W. Bastian */
#include "cssproperties.h"
#line 6 "cssproperties.gperf"
struct props {
const char *name;
int id;
};
/* maximum key range = 514, duplicates = 0 */
#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
hash_prop (register const char *str, register unsigned int len)
{
static const unsigned short asso_values[] =
{
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 0, 517, 517, 517, 517,
517, 5, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 0, 0, 0,
0, 5, 135, 25, 15, 0, 5, 25, 0, 0,
0, 0, 0, 45, 0, 25, 0, 70, 40, 205,
110, 210, 15, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
517, 517, 517, 517, 517, 517
};
register int hval = len;
switch (hval)
{
default:
hval += asso_values[(unsigned char)str[41]];
/*FALLTHROUGH*/
case 41:
hval += asso_values[(unsigned char)str[40]];
/*FALLTHROUGH*/
case 40:
hval += asso_values[(unsigned char)str[39]];
/*FALLTHROUGH*/
case 39:
hval += asso_values[(unsigned char)str[38]];
/*FALLTHROUGH*/
case 38:
hval += asso_values[(unsigned char)str[37]];
/*FALLTHROUGH*/
case 37:
hval += asso_values[(unsigned char)str[36]];
/*FALLTHROUGH*/
case 36:
hval += asso_values[(unsigned char)str[35]];
/*FALLTHROUGH*/
case 35:
hval += asso_values[(unsigned char)str[34]];
/*FALLTHROUGH*/
case 34:
hval += asso_values[(unsigned char)str[33]];
/*FALLTHROUGH*/
case 33:
hval += asso_values[(unsigned char)str[32]];
/*FALLTHROUGH*/
case 32:
hval += asso_values[(unsigned char)str[31]];
/*FALLTHROUGH*/
case 31:
hval += asso_values[(unsigned char)str[30]];
/*FALLTHROUGH*/
case 30:
hval += asso_values[(unsigned char)str[29]];
/*FALLTHROUGH*/
case 29:
hval += asso_values[(unsigned char)str[28]];
/*FALLTHROUGH*/
case 28:
hval += asso_values[(unsigned char)str[27]];
/*FALLTHROUGH*/
case 27:
hval += asso_values[(unsigned char)str[26]];
/*FALLTHROUGH*/
case 26:
hval += asso_values[(unsigned char)str[25]];
/*FALLTHROUGH*/
case 25:
hval += asso_values[(unsigned char)str[24]];
/*FALLTHROUGH*/
case 24:
hval += asso_values[(unsigned char)str[23]];
/*FALLTHROUGH*/
case 23:
hval += asso_values[(unsigned char)str[22]];
/*FALLTHROUGH*/
case 22:
hval += asso_values[(unsigned char)str[21]];
/*FALLTHROUGH*/
case 21:
hval += asso_values[(unsigned char)str[20]];
/*FALLTHROUGH*/
case 20:
hval += asso_values[(unsigned char)str[19]];
/*FALLTHROUGH*/
case 19:
hval += asso_values[(unsigned char)str[18]];
/*FALLTHROUGH*/
case 18:
hval += asso_values[(unsigned char)str[17]];
/*FALLTHROUGH*/
case 17:
hval += asso_values[(unsigned char)str[16]];
/*FALLTHROUGH*/
case 16:
hval += asso_values[(unsigned char)str[15]];
/*FALLTHROUGH*/
case 15:
hval += asso_values[(unsigned char)str[14]];
/*FALLTHROUGH*/
case 14:
hval += asso_values[(unsigned char)str[13]];
/*FALLTHROUGH*/
case 13:
hval += asso_values[(unsigned char)str[12]];
/*FALLTHROUGH*/
case 12:
hval += asso_values[(unsigned char)str[11]];
/*FALLTHROUGH*/
case 11:
hval += asso_values[(unsigned char)str[10]];
/*FALLTHROUGH*/
case 10:
hval += asso_values[(unsigned char)str[9]];
/*FALLTHROUGH*/
case 9:
hval += asso_values[(unsigned char)str[8]];
/*FALLTHROUGH*/
case 8:
hval += asso_values[(unsigned char)str[7]];
/*FALLTHROUGH*/
case 7:
hval += asso_values[(unsigned char)str[6]];
/*FALLTHROUGH*/
case 6:
hval += asso_values[(unsigned char)str[5]];
/*FALLTHROUGH*/
case 5:
hval += asso_values[(unsigned char)str[4]];
/*FALLTHROUGH*/
case 4:
hval += asso_values[(unsigned char)str[3]];
/*FALLTHROUGH*/
case 3:
hval += asso_values[(unsigned char)str[2]];
/*FALLTHROUGH*/
case 2:
hval += asso_values[(unsigned char)str[1]];
/*FALLTHROUGH*/
case 1:
hval += asso_values[(unsigned char)str[0]];
break;
}
return hval;
}
#ifdef __GNUC__
__inline
#endif
const struct props *
findProp (register const char *str, register unsigned int len)
{
enum
{
TOTAL_KEYWORDS = 160,
MIN_WORD_LENGTH = 3,
MAX_WORD_LENGTH = 42,
MIN_HASH_VALUE = 3,
MAX_HASH_VALUE = 516
};
static const struct props wordlist_prop[] =
{
#line 136 "cssproperties.gperf"
{"top", CSS_PROP_TOP},
#line 46 "cssproperties.gperf"
{"clip", CSS_PROP_CLIP},
#line 47 "cssproperties.gperf"
{"color", CSS_PROP_COLOR},
#line 35 "cssproperties.gperf"
{"bottom", CSS_PROP_BOTTOM},
#line 45 "cssproperties.gperf"
{"clear", CSS_PROP_CLEAR},
#line 150 "cssproperties.gperf"
{"border", CSS_PROP_BORDER},
#line 48 "cssproperties.gperf"
{"content", CSS_PROP_CONTENT},
#line 52 "cssproperties.gperf"
{"direction", CSS_PROP_DIRECTION},
#line 153 "cssproperties.gperf"
{"border-top", CSS_PROP_BORDER_TOP},
#line 151 "cssproperties.gperf"
{"border-color", CSS_PROP_BORDER_COLOR},
#line 155 "cssproperties.gperf"
{"border-bottom", CSS_PROP_BORDER_BOTTOM},
#line 23 "cssproperties.gperf"
{"border-top-color", CSS_PROP_BORDER_TOP_COLOR},
#line 25 "cssproperties.gperf"
{"border-bottom-color", CSS_PROP_BORDER_BOTTOM_COLOR},
#line 66 "cssproperties.gperf"
{"-apple-line-clamp", CSS_PROP__APPLE_LINE_CLAMP},
#line 160 "cssproperties.gperf"
{"margin", CSS_PROP_MARGIN},
#line 162 "cssproperties.gperf"
{"padding", CSS_PROP_PADDING},
#line 108 "cssproperties.gperf"
{"position", CSS_PROP_POSITION},
#line 104 "cssproperties.gperf"
{"page", CSS_PROP_PAGE},
#line 71 "cssproperties.gperf"
{"margin-top", CSS_PROP_MARGIN_TOP},
#line 99 "cssproperties.gperf"
{"padding-top", CSS_PROP_PADDING_TOP},
#line 73 "cssproperties.gperf"
{"margin-bottom", CSS_PROP_MARGIN_BOTTOM},
#line 101 "cssproperties.gperf"
{"padding-bottom", CSS_PROP_PADDING_BOTTOM},
#line 44 "cssproperties.gperf"
{"caption-side", CSS_PROP_CAPTION_SIDE},
#line 110 "cssproperties.gperf"
{"right", CSS_PROP_RIGHT},
#line 93 "cssproperties.gperf"
{"orphans", CSS_PROP_ORPHANS},
#line 111 "cssproperties.gperf"
{"size", CSS_PROP_SIZE},
#line 19 "cssproperties.gperf"
{"border-collapse", CSS_PROP_BORDER_COLLAPSE},
#line 154 "cssproperties.gperf"
{"border-right", CSS_PROP_BORDER_RIGHT},
#line 24 "cssproperties.gperf"
{"border-right-color", CSS_PROP_BORDER_RIGHT_COLOR},
#line 63 "cssproperties.gperf"
{"height", CSS_PROP_HEIGHT},
#line 20 "cssproperties.gperf"
{"border-spacing", CSS_PROP_BORDER_SPACING},
#line 89 "cssproperties.gperf"
{"min-height", CSS_PROP_MIN_HEIGHT},
#line 168 "cssproperties.gperf"
{"scrollbar-track-color", CSS_PROP_SCROLLBAR_TRACK_COLOR},
#line 65 "cssproperties.gperf"
{"letter-spacing", CSS_PROP_LETTER_SPACING},
#line 67 "cssproperties.gperf"
{"line-height", CSS_PROP_LINE_HEIGHT},
#line 72 "cssproperties.gperf"
{"margin-right", CSS_PROP_MARGIN_RIGHT},
#line 100 "cssproperties.gperf"
{"padding-right", CSS_PROP_PADDING_RIGHT},
#line 18 "cssproperties.gperf"
{"-khtml-binding", CSS_PROP__KHTML_BINDING},
#line 161 "cssproperties.gperf"
{"outline", CSS_PROP_OUTLINE},
#line 141 "cssproperties.gperf"
{"vertical-align", CSS_PROP_VERTICAL_ALIGN},
#line 91 "cssproperties.gperf"
{"-khtml-nbsp-mode", CSS_PROP__KHTML_NBSP_MODE},
#line 137 "cssproperties.gperf"
{"unicode-bidi", CSS_PROP_UNICODE_BIDI},
#line 94 "cssproperties.gperf"
{"outline-color", CSS_PROP_OUTLINE_COLOR},
#line 75 "cssproperties.gperf"
{"-khtml-line-break", CSS_PROP__KHTML_LINE_BREAK},
#line 166 "cssproperties.gperf"
{"scrollbar-3dlight-color", CSS_PROP_SCROLLBAR_3DLIGHT_COLOR},
#line 135 "cssproperties.gperf"
{"-apple-dashboard-region", CSS_PROP__APPLE_DASHBOARD_REGION},
#line 51 "cssproperties.gperf"
{"cursor", CSS_PROP_CURSOR},
#line 49 "cssproperties.gperf"
{"counter-increment", CSS_PROP_COUNTER_INCREMENT},
#line 107 "cssproperties.gperf"
{"page-break-inside", CSS_PROP_PAGE_BREAK_INSIDE},
#line 79 "cssproperties.gperf"
{"-khtml-margin-start", CSS_PROP__KHTML_MARGIN_START},
#line 103 "cssproperties.gperf"
{"-khtml-padding-start", CSS_PROP__KHTML_PADDING_START},
#line 76 "cssproperties.gperf"
{"-khtml-margin-collapse", CSS_PROP__KHTML_MARGIN_COLLAPSE},
#line 77 "cssproperties.gperf"
{"-khtml-margin-top-collapse", CSS_PROP__KHTML_MARGIN_TOP_COLLAPSE},
#line 50 "cssproperties.gperf"
{"counter-reset", CSS_PROP_COUNTER_RESET},
#line 78 "cssproperties.gperf"
{"-khtml-margin-bottom-collapse", CSS_PROP__KHTML_MARGIN_BOTTOM_COLLAPSE},
#line 149 "cssproperties.gperf"
{"background", CSS_PROP_BACKGROUND},
#line 115 "cssproperties.gperf"
{"text-indent", CSS_PROP_TEXT_INDENT},
#line 114 "cssproperties.gperf"
{"text-decoration", CSS_PROP_TEXT_DECORATION},
#line 11 "cssproperties.gperf"
{"background-color", CSS_PROP_BACKGROUND_COLOR},
#line 148 "cssproperties.gperf"
{"z-index", CSS_PROP_Z_INDEX},
#line 158 "cssproperties.gperf"
{"font", CSS_PROP_FONT},
#line 55 "cssproperties.gperf"
{"float", CSS_PROP_FLOAT},
#line 64 "cssproperties.gperf"
{"left", CSS_PROP_LEFT},
#line 165 "cssproperties.gperf"
{"scrollbar-highlight-color", CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR},
#line 13 "cssproperties.gperf"
{"background-repeat", CSS_PROP_BACKGROUND_REPEAT},
#line 113 "cssproperties.gperf"
{"text-align", CSS_PROP_TEXT_ALIGN},
#line 109 "cssproperties.gperf"
{"quotes", CSS_PROP_QUOTES},
#line 156 "cssproperties.gperf"
{"border-left", CSS_PROP_BORDER_LEFT},
#line 21 "cssproperties.gperf"
{"-khtml-border-horizontal-spacing", CSS_PROP__KHTML_BORDER_HORIZONTAL_SPACING},
#line 14 "cssproperties.gperf"
{"background-attachment", CSS_PROP_BACKGROUND_ATTACHMENT},
#line 26 "cssproperties.gperf"
{"border-left-color", CSS_PROP_BORDER_LEFT_COLOR},
#line 15 "cssproperties.gperf"
{"background-position", CSS_PROP_BACKGROUND_POSITION},
#line 12 "cssproperties.gperf"
{"background-image", CSS_PROP_BACKGROUND_IMAGE},
#line 22 "cssproperties.gperf"
{"-khtml-border-vertical-spacing", CSS_PROP__KHTML_BORDER_VERTICAL_SPACING},
#line 42 "cssproperties.gperf"
{"-khtml-box-orient", CSS_PROP__KHTML_BOX_ORIENT},
#line 37 "cssproperties.gperf"
{"-khtml-box-direction", CSS_PROP__KHTML_BOX_DIRECTION},
#line 74 "cssproperties.gperf"
{"margin-left", CSS_PROP_MARGIN_LEFT},
#line 102 "cssproperties.gperf"
{"padding-left", CSS_PROP_PADDING_LEFT},
#line 122 "cssproperties.gperf"
{"text-overline", CSS_PROP_TEXT_OVERLINE},
#line 80 "cssproperties.gperf"
{"-khtml-marquee", CSS_PROP__KHTML_MARQUEE},
#line 87 "cssproperties.gperf"
{"max-height", CSS_PROP_MAX_HEIGHT},
#line 138 "cssproperties.gperf"
{"-khtml-user-drag", CSS_PROP__KHTML_USER_DRAG},
#line 123 "cssproperties.gperf"
{"text-overline-color", CSS_PROP_TEXT_OVERLINE_COLOR},
#line 163 "cssproperties.gperf"
{"scrollbar-face-color", CSS_PROP_SCROLLBAR_FACE_COLOR},
#line 61 "cssproperties.gperf"
{"font-variant", CSS_PROP_FONT_VARIANT},
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -