forked from fantaisie-software/purebasic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKeywordsData.pbi
196 lines (169 loc) · 5.99 KB
/
KeywordsData.pbi
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
; --------------------------------------------------------------------------------------------
; Copyright (c) Fantaisie Software. All rights reserved.
; Dual licensed under the GPL and Fantaisie Software licenses.
; See LICENSE and LICENSE-FANTAISIE in the project root for license information.
; --------------------------------------------------------------------------------------------
; This file contains the definitions of all the PureBasic/SpiderBasic keywords.
; They were originally part of the "HighlightingEngine.pb" source, and were
; moved to an independent file to allow third party tools to access the keywords
; lists. The Assembly keywords are imported from "AssemblyOperandsX86.pb".
DataSection
;- Keywords - BASIC
; Note: First is the Keyword in real Case, then the corresponding end-keyword
; (for autocomplete), then whether the tag should include a trailing
; space in autocomplete (if enabled).
; Keywords must be sorted here!
; Note: Keep these definitions in sync with the corresponding constants
; defined in "HighlightingEngine.pb".
BasicKeywords:
Data$ "Align", "", " "
Data$ "And", "", " "
Data$ "Array", "", " "
Data$ "As", "", " "
Data$ "Break", "", ""
Data$ "CallDebugger" , "", ""
Data$ "Case" , "", " "
Data$ "CompilerCase" , "", " "
Data$ "CompilerDefault" , "", ""
Data$ "CompilerElse" , "", ""
Data$ "CompilerElseIf" , "", " "
Data$ "CompilerEndIf" , "", ""
Data$ "CompilerEndSelect", "", ""
Data$ "CompilerError" , "", " "
Data$ "CompilerIf" , "CompilerEndIf" , " "
Data$ "CompilerSelect" , "CompilerEndSelect", " "
Data$ "CompilerWarning" , "", " "
Data$ "Continue" , "", ""
Data$ "Data" , "", " "
Data$ "DataSection" , "EndDataSection", ""
Data$ "Debug" , "", " "
Data$ "DebugLevel" , "", " "
Data$ "Declare" , "", ""
CompilerIf Not #SpiderBasic
Data$ "DeclareC" , "", ""
Data$ "DeclareCDLL" , "", ""
Data$ "DeclareDLL" , "", ""
CompilerEndIf
Data$ "DeclareModule" , "EndDeclareModule", " "
Data$ "Default" , "", ""
Data$ "Define" , "", " "
Data$ "Dim" , "", " "
CompilerIf Not #SpiderBasic
Data$ "DisableASM" , "", ""
CompilerEndIf
Data$ "DisableDebugger", "", ""
Data$ "DisableExplicit", "", ""
CompilerIf #SpiderBasic
Data$ "DisableJS" , "", ""
CompilerEndIf
Data$ "DisablePureLibrary", "", ""
Data$ "Else" , "", ""
Data$ "ElseIf" , "", " "
CompilerIf Not #SpiderBasic
Data$ "EnableASM" , "", ""
CompilerEndIf
Data$ "EnableDebugger" , "", ""
Data$ "EnableExplicit" , "", ""
CompilerIf #SpiderBasic
Data$ "EnableJS" , "", ""
CompilerEndIf
Data$ "End" , "", ""
Data$ "EndDataSection" , "", ""
Data$ "EndDeclareModule" , "", ""
Data$ "EndEnumeration" , "", ""
Data$ "EndIf" , "", ""
Data$ "EndImport" , "", ""
Data$ "EndInterface" , "", ""
Data$ "EndMacro" , "", ""
Data$ "EndModule" , "", ""
Data$ "EndProcedure" , "", ""
Data$ "EndSelect" , "", ""
Data$ "EndStructure" , "", ""
CompilerIf Not #SpiderBasic
Data$ "EndStructureUnion" , "", ""
CompilerEndIf
Data$ "EndWith" , "", ""
Data$ "Enumeration" , "EndEnumeration", " "
Data$ "EnumerationBinary" , "EndEnumeration", " "
Data$ "Extends" , "", " "
CompilerIf Not #SpiderBasic
Data$ "FakeReturn" , "", ""
CompilerEndIf
Data$ "For" , "Next", " "
Data$ "ForEach" , "Next", " "
Data$ "ForEver" , "", ""
Data$ "Global", "", " "
CompilerIf Not #SpiderBasic
Data$ "Gosub" , "", " "
Data$ "Goto" , "", " "
CompilerEndIf
Data$ "If" , "EndIf", " "
Data$ "Import" , "EndImport", " "
CompilerIf Not #SpiderBasic
Data$ "ImportC" , "EndImport", " "
CompilerEndIf
CompilerIf Not #SpiderBasic
Data$ "IncludeBinary" , "", " "
CompilerEndIf
Data$ "IncludeFile" , "", " "
Data$ "IncludePath" , "", " "
Data$ "Interface" , "EndInterface", " "
Data$ "List", "", " "
Data$ "Macro", "EndMacro", " "
Data$ "MacroExpandedCount", "", ""
Data$ "Map", "", " "
Data$ "Module" , "EndModule", " "
Data$ "NewList", "", " "
Data$ "NewMap", "", " "
Data$ "Next" , "", ""
Data$ "Not" , "", " "
Data$ "Or", "", " "
;Data$ "Parallel" , "", " "
Data$ "Procedure" , "EndProcedure", " "
CompilerIf Not #SpiderBasic
Data$ "ProcedureC" , "EndProcedure", " "
Data$ "ProcedureCDLL" , "EndProcedure", " "
Data$ "ProcedureDLL" , "EndProcedure", " "
CompilerEndIf
Data$ "ProcedureReturn", "", " "
Data$ "Protected" , "", " "
Data$ "Prototype" , "", " "
CompilerIf Not #SpiderBasic
Data$ "PrototypeC" , "", " "
CompilerEndIf
Data$ "Read" , "", " "
Data$ "ReDim" , "", " "
Data$ "Repeat" , "Until ", ""
Data$ "Restore", "", " "
CompilerIf Not #SpiderBasic
Data$ "Return" , "", ""
CompilerEndIf
Data$ "Runtime" , "", ""
Data$ "Select" , "EndSelect", " "
Data$ "Shared" , "", " "
Data$ "Static" , "", " "
Data$ "Step" , "", " "
Data$ "Structure" , "EndStructure", " "
CompilerIf Not #SpiderBasic
Data$ "StructureUnion", "EndStructureUnion", ""
CompilerEndIf
Data$ "Swap" , "", " "
CompilerIf Not #SpiderBasic
Data$ "Threaded", "", " "
CompilerEndIf
Data$ "To", "", " "
Data$ "UndefineMacro", "", " "
Data$ "Until", "", " "
Data$ "UnuseModule", "", " "
Data$ "UseModule", "", " "
Data$ "Wend" , "", ""
Data$ "While", "Wend", " "
Data$ "With" , "EndWith", " "
Data$ "XIncludeFile", "", " "
Data$ "XOr" , "", " "
;- Keywords - ASM
ASMKeywords:
; Note: The IncludeFile directive requires the absolute path as it's used by
; the DocMaker and SyntaxHighlighting DLL.
IncludeFile #PB_Compiler_FilePath+"AssemblyOperandsX86.pb"
EndDataSection