]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/stc/scintilla/include/SciLexer.h
Added RTLD_GLOBAL to dlopen() flags which is needed if libraries depend
[wxWidgets.git] / contrib / src / stc / scintilla / include / SciLexer.h
CommitLineData
9ce192d4
RD
1// Scintilla source code edit control
2// SciLexer - interface to the added lexer functions in the SciLexer version of the edit control
3// Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
4// The License.txt file describes the conditions under which this software may be distributed.
5
6#ifndef SCILEXER_H
7#define SCILEXER_H
8
9// SciLexer features - not in standard Scintilla
10
11#define SCLEX_CONTAINER 0
12#define SCLEX_NULL 1
13#define SCLEX_PYTHON 2
14#define SCLEX_CPP 3
15#define SCLEX_HTML 4
16#define SCLEX_XML 5
17#define SCLEX_PERL 6
18#define SCLEX_SQL 7
19#define SCLEX_VB 8
20#define SCLEX_PROPERTIES 9
21#define SCLEX_ERRORLIST 10
22#define SCLEX_MAKEFILE 11
23#define SCLEX_BATCH 12
24
25// Lexical states for SCLEX_PYTHON
26#define SCE_P_DEFAULT 0
27#define SCE_P_COMMENTLINE 1
28#define SCE_P_NUMBER 2
29#define SCE_P_STRING 3
30#define SCE_P_CHARACTER 4
31#define SCE_P_WORD 5
32#define SCE_P_TRIPLE 6
33#define SCE_P_TRIPLEDOUBLE 7
34#define SCE_P_CLASSNAME 8
35#define SCE_P_DEFNAME 9
36#define SCE_P_OPERATOR 10
37#define SCE_P_IDENTIFIER 11
38
39// Lexical states for SCLEX_CPP, SCLEX_VB
40#define SCE_C_DEFAULT 0
41#define SCE_C_COMMENT 1
42#define SCE_C_COMMENTLINE 2
43#define SCE_C_COMMENTDOC 3
44#define SCE_C_NUMBER 4
45#define SCE_C_WORD 5
46#define SCE_C_STRING 6
47#define SCE_C_CHARACTER 7
88b780d9 48#define SCE_C_PUNTUATION 8
9ce192d4
RD
49#define SCE_C_PREPROCESSOR 9
50#define SCE_C_OPERATOR 10
51#define SCE_C_IDENTIFIER 11
52#define SCE_C_STRINGEOL 12
53
54// Lexical states for SCLEX_HTML, SCLEX_xML
55#define SCE_H_DEFAULT 0
56#define SCE_H_TAG 1
57#define SCE_H_TAGUNKNOWN 2
58#define SCE_H_ATTRIBUTE 3
59#define SCE_H_ATTRIBUTEUNKNOWN 4
60#define SCE_H_NUMBER 5
61#define SCE_H_DOUBLESTRING 6
62#define SCE_H_SINGLESTRING 7
63#define SCE_H_OTHER 8
64#define SCE_H_COMMENT 9
65#define SCE_H_ENTITY 10
64a3ee5f 66// Embedded Javascript
88b780d9
RD
67#define SCE_HJ_START 11
68#define SCE_HJ_DEFAULT 12
69#define SCE_HJ_COMMENT 13
70#define SCE_HJ_COMMENTLINE 14
71#define SCE_HJ_COMMENTDOC 15
72#define SCE_HJ_NUMBER 16
73#define SCE_HJ_WORD 17
74#define SCE_HJ_KEYWORD 18
75#define SCE_HJ_DOUBLESTRING 19
76#define SCE_HJ_SINGLESTRING 20
77#define SCE_HJ_SYMBOLS 21
78#define SCE_HJ_STRINGEOL 28
79// XML and ASP
80#define SCE_H_TAGEND 22
81#define SCE_H_XMLSTART 23
82#define SCE_H_XMLEND 24
83#define SCE_H_SCRIPT 25
84#define SCE_H_ASP 26
85#define SCE_H_ASPAT 27
9ce192d4 86// Embedded VBScript
88b780d9
RD
87#define SCE_HB_START 40
88#define SCE_HB_DEFAULT 41
89#define SCE_HB_COMMENTLINE 42
90#define SCE_HB_NUMBER 43
91#define SCE_HB_WORD 44
92#define SCE_HB_STRING 45
93#define SCE_HB_IDENTIFIER 46
94#define SCE_HB_STRINGEOL 47
9ce192d4 95// Embedded Python
88b780d9
RD
96#define SCE_HP_START 50
97#define SCE_HP_DEFAULT 51
98#define SCE_HP_COMMENTLINE 52
99#define SCE_HP_NUMBER 53
100#define SCE_HP_STRING 54
101#define SCE_HP_CHARACTER 55
102#define SCE_HP_WORD 56
103#define SCE_HP_TRIPLE 57
104#define SCE_HP_TRIPLEDOUBLE 58
105#define SCE_HP_CLASSNAME 59
106#define SCE_HP_DEFNAME 60
107#define SCE_HP_OPERATOR 61
108#define SCE_HP_IDENTIFIER 62
9ce192d4
RD
109
110// Lexical states for SCLEX_PERL
111#define SCE_PL_DEFAULT 0
112#define SCE_PL_HERE 1
113#define SCE_PL_COMMENTLINE 2
114#define SCE_PL_POD 3
115#define SCE_PL_NUMBER 4
116#define SCE_PL_WORD 5
117#define SCE_PL_STRING 6
118#define SCE_PL_CHARACTER 7
119#define SCE_PL_PUNCTUATION 8
120#define SCE_PL_PREPROCESSOR 9
121#define SCE_PL_OPERATOR 10
122#define SCE_PL_IDENTIFIER 11
123#define SCE_PL_SCALAR 12
124#define SCE_PL_ARRAY 13
125#define SCE_PL_HASH 14
126#define SCE_PL_SYMBOLTABLE 15
127#define SCE_PL_REF 16
128#define SCE_PL_REGEX 17
129#define SCE_PL_REGSUBST 18
130#define SCE_PL_LONGQUOTE 19
131#define SCE_PL_BACKTICKS 20
132#define SCE_PL_DATASECTION 21
133
134#endif