forked from veritech/CSSApply
-
Notifications
You must be signed in to change notification settings - Fork 4
/
CSSTokens.h
46 lines (37 loc) · 843 Bytes
/
CSSTokens.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// CSSInc.h
// CSSSample
//
// Created by Zac Bowling on 7/16/11.
// Copyright 2011 Float:Right Ltd. All rights reserved.
//
#include <stdio.h>
#ifndef CSSSample_CSSInc_h
#define CSSSample_CSSInc_h
typedef enum {
CSSFIRST_TOKEN = 0x100,
CSSSTRING = CSSFIRST_TOKEN,
CSSIDENT, //0x101
CSSHASH, //0x102
CSSEMS, //0x103
CSSEXS, //0x104
CSSLENGTH, //0x105
CSSANGLE, //0x106
CSSTIME, //0x107
CSSFREQ, //0x108
CSSDIMEN, //0x109
CSSPERCENTAGE, //0x10A
CSSNUMBER, //0x10B
CSSURI, //0x10C
CSSFUNCTION, //0x10D
CSSUNICODERANGE, //0x10E
CSSUNKNOWN, //0x10F
} CssParserCodes;
extern const char* cssnames[];
#ifndef YY_TYPEDEF_YY_SCANNER_T
#define YY_TYPEDEF_YY_SCANNER_T
typedef void* yyscan_t;
#endif
extern FILE *cssin;
int cssConsume(char* text, int token);
#endif