forked from pripost/NppDB.MSAccess
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MSAccessParser.cs
8795 lines (8576 loc) · 303 KB
/
MSAccessParser.cs
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.11.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Generated from C:\Users\Andres\Documents\bcS\NppDB\NppDB.MSAccess\MSAccessParser.g4 by ANTLR 4.11.1
// Unreachable code detected
#pragma warning disable 0162
// The variable '...' is assigned but its value is never used
#pragma warning disable 0219
// Missing XML comment for publicly visible type or member '...'
#pragma warning disable 1591
// Ambiguous reference in cref attribute
#pragma warning disable 419
using System;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using Antlr4.Runtime;
using Antlr4.Runtime.Atn;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
using DFA = Antlr4.Runtime.Dfa.DFA;
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.11.1")]
[System.CLSCompliant(false)]
public partial class MSAccessParser : Parser {
protected static DFA[] decisionToDFA;
protected static PredictionContextCache sharedContextCache = new PredictionContextCache();
public const int
SCOL=1, DOT=2, OPEN_PAR=3, CLOSE_PAR=4, OPEN_BRACKET=5, CLOSE_BRACKET=6,
COMMA=7, STAR=8, PLUS=9, MINUS=10, PIPE2=11, DIV=12, IDIV=13, MOD_=14,
LT2=15, GT2=16, AMP=17, PIPE=18, LT=19, LT_EQ=20, GT=21, GT_EQ=22, EQ=23,
NOT_EQ1=24, NOT_EQ2=25, ADD_=26, ALL_=27, ALTER_=28, AND_=29, ANY_=30,
AS_=31, ASC_=32, BEGIN_=33, BETWEEN_=34, BY_=35, CASCADE_=36, CASE_=37,
CAST_=38, CHECK_=39, COLUMN_=40, COMMIT_=41, COMP_=42, COMPRESSION_=43,
CONSTRAINT_=44, CREATE_=45, CURRENT_DATE_=46, CURRENT_TIME_=47, CURRENT_TIMESTAMP_=48,
DATABASE_=49, DEFAULT_=50, DELETE_=51, DESC_=52, DISALLOW_=53, DISTINCT_=54,
DISTINCTROW_=55, DROP_=56, ELSE_=57, END_=58, EQV_=59, ESCAPE_=60, EXCEPT_=61,
EXEC_=62, EXISTS_=63, FOREIGN_=64, FROM_=65, GROUP_=66, HAVING_=67, IGNORE_=68,
IN_=69, INDEX_=70, INDEXED_=71, INNER_=72, INSERT_=73, INTERSECT_=74,
INTO_=75, IS_=76, JOIN_=77, KEY_=78, LEFT_=79, ALIKE_=80, LIKE_=81, TOP_=82,
MATCH_=83, MINUS_=84, NO_=85, NOT_=86, NULL_=87, ON_=88, OR_=89, ORDER_=90,
OUTER_=91, PARAMETERS_=92, PASSWORD_=93, PRIMARY_=94, PROC_=95, PROCEDURE_=96,
REFERENCES_=97, REGEXP_=98, RIGHT_=99, ROLLBACK_=100, SELECT_=101, SET_=102,
SOME_=103, TABLE_=104, TEMP_=105, TEMPORARY_=106, THEN_=107, TO_=108,
TRANSACTION_=109, USER_=110, WORK_=111, UNION_=112, UNIQUE_=113, UPDATE_=114,
VALUES_=115, VIEW_=116, WHEN_=117, WHERE_=118, WITH_=119, XOR_=120, TRUE_=121,
FALSE_=122, NULLS_=123, FIRST_=124, LAST_=125, OBJECT_=126, CONTAINER_=127,
GRANT_=128, REVOKE_=129, SELECTSECURITY_=130, UPDATESECURITY_=131, DBPASSWORD_=132,
UPDATEIDENTITY_=133, SELECTSCHEMA_=134, SCHEMA_=135, UPDATEOWNER_=136,
LONGBINARY_=137, BINARY_=138, BIT_=139, COUNTER_=140, CURRENCY_=141, DATE_=142,
TIME_=143, DATETIME_=144, TIMESTAMP_=145, GUID_=146, LONGTEXT_=147, SINGLE_=148,
DOUBLE_=149, UNSIGNED_=150, BYTE_=151, SHORT_=152, INTEGER_=153, LONG_=154,
NUMERIC_=155, VARCHAR_=156, VARBINARY_=157, YESNO_=158, TEXT_=159, REPLICATIONID_=160,
AUTONUMBER_=161, OLEOBJECT_=162, MEMO_=163, HYPERLINK_=164, PERCENT_=165,
IDENTIFIER=166, NUMERIC_LITERAL=167, BIND_PARAMETER=168, STRING_LITERAL=169,
DATE_LITERAL=170, BLOB_LITERAL=171, SINGLE_LINE_COMMENT=172, MULTILINE_COMMENT=173,
SPACES=174, UNEXPECTED_CHAR=175;
public const int
RULE_keyword = 0, RULE_privilege = 1, RULE_type_name = 2, RULE_literal_expr = 3,
RULE_column_alias = 4, RULE_any_name = 5, RULE_name = 6, RULE_function_name = 7,
RULE_table_name = 8, RULE_column_name = 9, RULE_index_name = 10, RULE_procedure_name = 11,
RULE_param_name = 12, RULE_view_name = 13, RULE_table_alias = 14, RULE_aliased_table_name = 15,
RULE_direction = 16, RULE_ordering_term = 17, RULE_signed_number = 18,
RULE_param_def = 19, RULE_optional_parens = 20, RULE_default_expr = 21,
RULE_column_def = 22, RULE_prefixed_star = 23, RULE_prefixed_column_name = 24,
RULE_result_column = 25, RULE_param_expr = 26, RULE_user_name = 27, RULE_group_name = 28,
RULE_user_or_group_name = 29, RULE_password = 30, RULE_pid = 31, RULE_expr = 32,
RULE_function_expr = 33, RULE_create_user_stmt = 34, RULE_create_group_stmt = 35,
RULE_drop_user_stmt = 36, RULE_drop_group_stmt = 37, RULE_alter_password_stmt = 38,
RULE_add_user_stmt = 39, RULE_grant_stmt = 40, RULE_revoke_stmt = 41,
RULE_alter_table_stmt = 42, RULE_begin_stmt = 43, RULE_commit_stmt = 44,
RULE_rollback_stmt = 45, RULE_on_trigger = 46, RULE_single_field_constraint = 47,
RULE_multiple_field_constraint = 48, RULE_exec_stmt = 49, RULE_create_table_stmt = 50,
RULE_create_view_stmt = 51, RULE_create_index_stmt = 52, RULE_create_procedure_stmt = 53,
RULE_drop_stmt = 54, RULE_select_stmt = 55, RULE_table_stmt = 56, RULE_table_core_stmt = 57,
RULE_select_clause = 58, RULE_select_into_stmt = 59, RULE_select_core_stmt = 60,
RULE_table_or_subquery = 61, RULE_table_with_joins = 62, RULE_from_clause = 63,
RULE_join_clause = 64, RULE_where_clause = 65, RULE_group_by_clause = 66,
RULE_order_by_clause = 67, RULE_insert_stmt = 68, RULE_update_stmt = 69,
RULE_delete_stmt = 70, RULE_procedure_stmt = 71, RULE_parameters_stmt = 72,
RULE_sql_stmt = 73, RULE_sql_stmt_list = 74, RULE_parse = 75;
public static readonly string[] ruleNames = {
"keyword", "privilege", "type_name", "literal_expr", "column_alias", "any_name",
"name", "function_name", "table_name", "column_name", "index_name", "procedure_name",
"param_name", "view_name", "table_alias", "aliased_table_name", "direction",
"ordering_term", "signed_number", "param_def", "optional_parens", "default_expr",
"column_def", "prefixed_star", "prefixed_column_name", "result_column",
"param_expr", "user_name", "group_name", "user_or_group_name", "password",
"pid", "expr", "function_expr", "create_user_stmt", "create_group_stmt",
"drop_user_stmt", "drop_group_stmt", "alter_password_stmt", "add_user_stmt",
"grant_stmt", "revoke_stmt", "alter_table_stmt", "begin_stmt", "commit_stmt",
"rollback_stmt", "on_trigger", "single_field_constraint", "multiple_field_constraint",
"exec_stmt", "create_table_stmt", "create_view_stmt", "create_index_stmt",
"create_procedure_stmt", "drop_stmt", "select_stmt", "table_stmt", "table_core_stmt",
"select_clause", "select_into_stmt", "select_core_stmt", "table_or_subquery",
"table_with_joins", "from_clause", "join_clause", "where_clause", "group_by_clause",
"order_by_clause", "insert_stmt", "update_stmt", "delete_stmt", "procedure_stmt",
"parameters_stmt", "sql_stmt", "sql_stmt_list", "parse"
};
private static readonly string[] _LiteralNames = {
null, "';'", "'.'", "'('", "')'", "'['", "']'", "','", "'*'", "'+'", "'-'",
"'||'", "'/'", "'\\'", "'MOD'", "'<<'", "'>>'", "'&'", "'|'", "'<'", "'<='",
"'>'", "'>='", "'='", "'!='", "'<>'", "'ADD'", "'ALL'", "'ALTER'", "'AND'",
"'ANY'", "'AS'", "'ASC'", "'BEGIN'", "'BETWEEN'", "'BY'", "'CASCADE'",
"'CASE'", "'CAST'", "'CHECK'", "'COLUMN'", "'COMMIT'", "'COMP'", "'COMPRESSION'",
"'CONSTRAINT'", "'CREATE'", "'CURRENT_DATE'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'",
"'DATABASE'", "'DEFAULT'", "'DELETE'", "'DESC'", "'DISALLOW'", "'DISTINCT'",
"'DISTINCTROW'", "'DROP'", "'ELSE'", "'END'", "'EQV'", "'ESCAPE'", "'EXCEPT'",
"'EXEC'", "'EXISTS'", "'FOREIGN'", "'FROM'", "'GROUP'", "'HAVING'", "'IGNORE'",
"'IN'", "'INDEX'", "'INDEXED'", "'INNER'", "'INSERT'", "'INTERSECT'",
"'INTO'", "'IS'", "'JOIN'", "'KEY'", "'LEFT'", "'ALIKE'", "'LIKE'", "'TOP'",
"'MATCH'", "'MINUS'", "'NO'", "'NOT'", "'NULL'", "'ON'", "'OR'", "'ORDER'",
"'OUTER'", "'PARAMETERS'", "'PASSWORD'", "'PRIMARY'", "'PROC'", "'PROCEDURE'",
"'REFERENCES'", "'REGEXP'", "'RIGHT'", "'ROLLBACK'", "'SELECT'", "'SET'",
"'SOME'", "'TABLE'", "'TEMP'", "'TEMPORARY'", "'THEN'", "'TO'", "'TRANSACTION'",
"'USER'", "'WORK'", "'UNION'", "'UNIQUE'", "'UPDATE'", "'VALUES'", "'VIEW'",
"'WHEN'", "'WHERE'", "'WITH'", "'XOR'", "'TRUE'", "'FALSE'", "'NULLS'",
"'FIRST'", "'LAST'", "'OBJECT'", "'CONTAINER'", "'GRANT'", "'REVOKE'",
"'SELECTSECURITY'", "'UPDATESECURITY'", "'DBPASSWORD'", "'UPDATEIDENTITY'",
"'SELECTSCHEMA'", "'SCHEMA'", "'UPDATEOWNER'", "'LONGBINARY'", "'BINARY'",
"'BIT'", "'COUNTER'", "'CURRENCY'", "'DATE'", "'TIME'", "'DATETIME'",
"'TIMESTAMP'", "'GUID'", "'LONGTEXT'", "'SINGLE'", "'DOUBLE'", "'UNSIGNED'",
"'BYTE'", "'SHORT'", "'INTEGER'", "'LONG'", "'NUMERIC'", "'VARCHAR'",
"'VARBINARY'", "'YESNO'", "'TEXT'", "'REPLICATIONID'", "'AUTONUMBER'",
"'OLEOBJECT'", "'MEMO'", "'HYPERLINK'", "'PERCENT'"
};
private static readonly string[] _SymbolicNames = {
null, "SCOL", "DOT", "OPEN_PAR", "CLOSE_PAR", "OPEN_BRACKET", "CLOSE_BRACKET",
"COMMA", "STAR", "PLUS", "MINUS", "PIPE2", "DIV", "IDIV", "MOD_", "LT2",
"GT2", "AMP", "PIPE", "LT", "LT_EQ", "GT", "GT_EQ", "EQ", "NOT_EQ1", "NOT_EQ2",
"ADD_", "ALL_", "ALTER_", "AND_", "ANY_", "AS_", "ASC_", "BEGIN_", "BETWEEN_",
"BY_", "CASCADE_", "CASE_", "CAST_", "CHECK_", "COLUMN_", "COMMIT_", "COMP_",
"COMPRESSION_", "CONSTRAINT_", "CREATE_", "CURRENT_DATE_", "CURRENT_TIME_",
"CURRENT_TIMESTAMP_", "DATABASE_", "DEFAULT_", "DELETE_", "DESC_", "DISALLOW_",
"DISTINCT_", "DISTINCTROW_", "DROP_", "ELSE_", "END_", "EQV_", "ESCAPE_",
"EXCEPT_", "EXEC_", "EXISTS_", "FOREIGN_", "FROM_", "GROUP_", "HAVING_",
"IGNORE_", "IN_", "INDEX_", "INDEXED_", "INNER_", "INSERT_", "INTERSECT_",
"INTO_", "IS_", "JOIN_", "KEY_", "LEFT_", "ALIKE_", "LIKE_", "TOP_", "MATCH_",
"MINUS_", "NO_", "NOT_", "NULL_", "ON_", "OR_", "ORDER_", "OUTER_", "PARAMETERS_",
"PASSWORD_", "PRIMARY_", "PROC_", "PROCEDURE_", "REFERENCES_", "REGEXP_",
"RIGHT_", "ROLLBACK_", "SELECT_", "SET_", "SOME_", "TABLE_", "TEMP_",
"TEMPORARY_", "THEN_", "TO_", "TRANSACTION_", "USER_", "WORK_", "UNION_",
"UNIQUE_", "UPDATE_", "VALUES_", "VIEW_", "WHEN_", "WHERE_", "WITH_",
"XOR_", "TRUE_", "FALSE_", "NULLS_", "FIRST_", "LAST_", "OBJECT_", "CONTAINER_",
"GRANT_", "REVOKE_", "SELECTSECURITY_", "UPDATESECURITY_", "DBPASSWORD_",
"UPDATEIDENTITY_", "SELECTSCHEMA_", "SCHEMA_", "UPDATEOWNER_", "LONGBINARY_",
"BINARY_", "BIT_", "COUNTER_", "CURRENCY_", "DATE_", "TIME_", "DATETIME_",
"TIMESTAMP_", "GUID_", "LONGTEXT_", "SINGLE_", "DOUBLE_", "UNSIGNED_",
"BYTE_", "SHORT_", "INTEGER_", "LONG_", "NUMERIC_", "VARCHAR_", "VARBINARY_",
"YESNO_", "TEXT_", "REPLICATIONID_", "AUTONUMBER_", "OLEOBJECT_", "MEMO_",
"HYPERLINK_", "PERCENT_", "IDENTIFIER", "NUMERIC_LITERAL", "BIND_PARAMETER",
"STRING_LITERAL", "DATE_LITERAL", "BLOB_LITERAL", "SINGLE_LINE_COMMENT",
"MULTILINE_COMMENT", "SPACES", "UNEXPECTED_CHAR"
};
public static readonly IVocabulary DefaultVocabulary = new Vocabulary(_LiteralNames, _SymbolicNames);
[NotNull]
public override IVocabulary Vocabulary
{
get
{
return DefaultVocabulary;
}
}
public override string GrammarFileName { get { return "MSAccessParser.g4"; } }
public override string[] RuleNames { get { return ruleNames; } }
public override int[] SerializedAtn { get { return _serializedATN; } }
static MSAccessParser() {
decisionToDFA = new DFA[_ATN.NumberOfDecisions];
for (int i = 0; i < _ATN.NumberOfDecisions; i++) {
decisionToDFA[i] = new DFA(_ATN.GetDecisionState(i), i);
}
}
public MSAccessParser(ITokenStream input) : this(input, Console.Out, Console.Error) { }
public MSAccessParser(ITokenStream input, TextWriter output, TextWriter errorOutput)
: base(input, output, errorOutput)
{
Interpreter = new ParserATNSimulator(this, _ATN, decisionToDFA, sharedContextCache);
}
public partial class KeywordContext : ParserRuleContext {
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ADD_() { return GetToken(MSAccessParser.ADD_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ALL_() { return GetToken(MSAccessParser.ALL_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ALTER_() { return GetToken(MSAccessParser.ALTER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode AND_() { return GetToken(MSAccessParser.AND_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode AS_() { return GetToken(MSAccessParser.AS_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ASC_() { return GetToken(MSAccessParser.ASC_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BEGIN_() { return GetToken(MSAccessParser.BEGIN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BETWEEN_() { return GetToken(MSAccessParser.BETWEEN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BY_() { return GetToken(MSAccessParser.BY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CASCADE_() { return GetToken(MSAccessParser.CASCADE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CASE_() { return GetToken(MSAccessParser.CASE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CAST_() { return GetToken(MSAccessParser.CAST_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CHECK_() { return GetToken(MSAccessParser.CHECK_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode COLUMN_() { return GetToken(MSAccessParser.COLUMN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode COMMIT_() { return GetToken(MSAccessParser.COMMIT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode COMP_() { return GetToken(MSAccessParser.COMP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode COMPRESSION_() { return GetToken(MSAccessParser.COMPRESSION_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CONSTRAINT_() { return GetToken(MSAccessParser.CONSTRAINT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CONTAINER_() { return GetToken(MSAccessParser.CONTAINER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CREATE_() { return GetToken(MSAccessParser.CREATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENT_DATE_() { return GetToken(MSAccessParser.CURRENT_DATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENT_TIME_() { return GetToken(MSAccessParser.CURRENT_TIME_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENT_TIMESTAMP_() { return GetToken(MSAccessParser.CURRENT_TIMESTAMP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATABASE_() { return GetToken(MSAccessParser.DATABASE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DEFAULT_() { return GetToken(MSAccessParser.DEFAULT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DELETE_() { return GetToken(MSAccessParser.DELETE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DESC_() { return GetToken(MSAccessParser.DESC_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DISALLOW_() { return GetToken(MSAccessParser.DISALLOW_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DISTINCT_() { return GetToken(MSAccessParser.DISTINCT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DISTINCTROW_() { return GetToken(MSAccessParser.DISTINCTROW_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DROP_() { return GetToken(MSAccessParser.DROP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ELSE_() { return GetToken(MSAccessParser.ELSE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode END_() { return GetToken(MSAccessParser.END_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EQV_() { return GetToken(MSAccessParser.EQV_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ESCAPE_() { return GetToken(MSAccessParser.ESCAPE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EXCEPT_() { return GetToken(MSAccessParser.EXCEPT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode EXISTS_() { return GetToken(MSAccessParser.EXISTS_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FOREIGN_() { return GetToken(MSAccessParser.FOREIGN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FROM_() { return GetToken(MSAccessParser.FROM_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode GRANT_() { return GetToken(MSAccessParser.GRANT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode GROUP_() { return GetToken(MSAccessParser.GROUP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HAVING_() { return GetToken(MSAccessParser.HAVING_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IGNORE_() { return GetToken(MSAccessParser.IGNORE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IN_() { return GetToken(MSAccessParser.IN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INDEX_() { return GetToken(MSAccessParser.INDEX_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INDEXED_() { return GetToken(MSAccessParser.INDEXED_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INNER_() { return GetToken(MSAccessParser.INNER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSERT_() { return GetToken(MSAccessParser.INSERT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INTERSECT_() { return GetToken(MSAccessParser.INTERSECT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INTO_() { return GetToken(MSAccessParser.INTO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IS_() { return GetToken(MSAccessParser.IS_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode JOIN_() { return GetToken(MSAccessParser.JOIN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode KEY_() { return GetToken(MSAccessParser.KEY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LEFT_() { return GetToken(MSAccessParser.LEFT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ALIKE_() { return GetToken(MSAccessParser.ALIKE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LIKE_() { return GetToken(MSAccessParser.LIKE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TOP_() { return GetToken(MSAccessParser.TOP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MATCH_() { return GetToken(MSAccessParser.MATCH_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MINUS_() { return GetToken(MSAccessParser.MINUS_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NO_() { return GetToken(MSAccessParser.NO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NOT_() { return GetToken(MSAccessParser.NOT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULL_() { return GetToken(MSAccessParser.NULL_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OBJECT_() { return GetToken(MSAccessParser.OBJECT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ON_() { return GetToken(MSAccessParser.ON_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OR_() { return GetToken(MSAccessParser.OR_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ORDER_() { return GetToken(MSAccessParser.ORDER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OUTER_() { return GetToken(MSAccessParser.OUTER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PARAMETERS_() { return GetToken(MSAccessParser.PARAMETERS_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PASSWORD_() { return GetToken(MSAccessParser.PASSWORD_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PRIMARY_() { return GetToken(MSAccessParser.PRIMARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PROCEDURE_() { return GetToken(MSAccessParser.PROCEDURE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REFERENCES_() { return GetToken(MSAccessParser.REFERENCES_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REGEXP_() { return GetToken(MSAccessParser.REGEXP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REVOKE_() { return GetToken(MSAccessParser.REVOKE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode RIGHT_() { return GetToken(MSAccessParser.RIGHT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode ROLLBACK_() { return GetToken(MSAccessParser.ROLLBACK_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SELECT_() { return GetToken(MSAccessParser.SELECT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SET_() { return GetToken(MSAccessParser.SET_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TABLE_() { return GetToken(MSAccessParser.TABLE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TEMP_() { return GetToken(MSAccessParser.TEMP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TEMPORARY_() { return GetToken(MSAccessParser.TEMPORARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode THEN_() { return GetToken(MSAccessParser.THEN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TO_() { return GetToken(MSAccessParser.TO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TRANSACTION_() { return GetToken(MSAccessParser.TRANSACTION_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode USER_() { return GetToken(MSAccessParser.USER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode WORK_() { return GetToken(MSAccessParser.WORK_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNION_() { return GetToken(MSAccessParser.UNION_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNIQUE_() { return GetToken(MSAccessParser.UNIQUE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATE_() { return GetToken(MSAccessParser.UPDATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VALUES_() { return GetToken(MSAccessParser.VALUES_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VIEW_() { return GetToken(MSAccessParser.VIEW_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode WHEN_() { return GetToken(MSAccessParser.WHEN_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode WHERE_() { return GetToken(MSAccessParser.WHERE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode WITH_() { return GetToken(MSAccessParser.WITH_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode XOR_() { return GetToken(MSAccessParser.XOR_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TRUE_() { return GetToken(MSAccessParser.TRUE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FALSE_() { return GetToken(MSAccessParser.FALSE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULLS_() { return GetToken(MSAccessParser.NULLS_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FIRST_() { return GetToken(MSAccessParser.FIRST_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LAST_() { return GetToken(MSAccessParser.LAST_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SELECTSECURITY_() { return GetToken(MSAccessParser.SELECTSECURITY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATESECURITY_() { return GetToken(MSAccessParser.UPDATESECURITY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DBPASSWORD_() { return GetToken(MSAccessParser.DBPASSWORD_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATEIDENTITY_() { return GetToken(MSAccessParser.UPDATEIDENTITY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SELECTSCHEMA_() { return GetToken(MSAccessParser.SELECTSCHEMA_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SCHEMA_() { return GetToken(MSAccessParser.SCHEMA_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATEOWNER_() { return GetToken(MSAccessParser.UPDATEOWNER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LONGBINARY_() { return GetToken(MSAccessParser.LONGBINARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BINARY_() { return GetToken(MSAccessParser.BINARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BIT_() { return GetToken(MSAccessParser.BIT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode COUNTER_() { return GetToken(MSAccessParser.COUNTER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENCY_() { return GetToken(MSAccessParser.CURRENCY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATE_() { return GetToken(MSAccessParser.DATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TIME_() { return GetToken(MSAccessParser.TIME_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATETIME_() { return GetToken(MSAccessParser.DATETIME_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TIMESTAMP_() { return GetToken(MSAccessParser.TIMESTAMP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode GUID_() { return GetToken(MSAccessParser.GUID_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LONGTEXT_() { return GetToken(MSAccessParser.LONGTEXT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SINGLE_() { return GetToken(MSAccessParser.SINGLE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DOUBLE_() { return GetToken(MSAccessParser.DOUBLE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNSIGNED_() { return GetToken(MSAccessParser.UNSIGNED_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BYTE_() { return GetToken(MSAccessParser.BYTE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SHORT_() { return GetToken(MSAccessParser.SHORT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INTEGER_() { return GetToken(MSAccessParser.INTEGER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LONG_() { return GetToken(MSAccessParser.LONG_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NUMERIC_() { return GetToken(MSAccessParser.NUMERIC_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARCHAR_() { return GetToken(MSAccessParser.VARCHAR_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARBINARY_() { return GetToken(MSAccessParser.VARBINARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode YESNO_() { return GetToken(MSAccessParser.YESNO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TEXT_() { return GetToken(MSAccessParser.TEXT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REPLICATIONID_() { return GetToken(MSAccessParser.REPLICATIONID_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode AUTONUMBER_() { return GetToken(MSAccessParser.AUTONUMBER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OLEOBJECT_() { return GetToken(MSAccessParser.OLEOBJECT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MEMO_() { return GetToken(MSAccessParser.MEMO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HYPERLINK_() { return GetToken(MSAccessParser.HYPERLINK_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode PERCENT_() { return GetToken(MSAccessParser.PERCENT_, 0); }
public KeywordContext(ParserRuleContext parent, int invokingState)
: base(parent, invokingState)
{
}
public override int RuleIndex { get { return RULE_keyword; } }
[System.Diagnostics.DebuggerNonUserCode]
public override void EnterRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.EnterKeyword(this);
}
[System.Diagnostics.DebuggerNonUserCode]
public override void ExitRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.ExitKeyword(this);
}
}
[RuleVersion(0)]
public KeywordContext keyword() {
KeywordContext _localctx = new KeywordContext(Context, State);
EnterRule(_localctx, 0, RULE_keyword);
int _la;
try {
EnterOuterAlt(_localctx, 1);
{
State = 152;
_la = TokenStream.LA(1);
if ( !(((_la) & ~0x3f) == 0 && ((1L << _la) & -4611686019568238592L) != 0 || (((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & -551903297537L) != 0 || (((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & 274877906943L) != 0) ) {
ErrorHandler.RecoverInline(this);
}
else {
ErrorHandler.ReportMatch(this);
Consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
ErrorHandler.ReportError(this, re);
ErrorHandler.Recover(this, re);
}
finally {
ExitRule();
}
return _localctx;
}
public partial class PrivilegeContext : ParserRuleContext {
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SELECT_() { return GetToken(MSAccessParser.SELECT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DELETE_() { return GetToken(MSAccessParser.DELETE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INSERT_() { return GetToken(MSAccessParser.INSERT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATE_() { return GetToken(MSAccessParser.UPDATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CREATE_() { return GetToken(MSAccessParser.CREATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DROP_() { return GetToken(MSAccessParser.DROP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SELECTSECURITY_() { return GetToken(MSAccessParser.SELECTSECURITY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATESECURITY_() { return GetToken(MSAccessParser.UPDATESECURITY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DBPASSWORD_() { return GetToken(MSAccessParser.DBPASSWORD_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATEIDENTITY_() { return GetToken(MSAccessParser.UPDATEIDENTITY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SELECTSCHEMA_() { return GetToken(MSAccessParser.SELECTSCHEMA_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SCHEMA_() { return GetToken(MSAccessParser.SCHEMA_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UPDATEOWNER_() { return GetToken(MSAccessParser.UPDATEOWNER_, 0); }
public PrivilegeContext(ParserRuleContext parent, int invokingState)
: base(parent, invokingState)
{
}
public override int RuleIndex { get { return RULE_privilege; } }
[System.Diagnostics.DebuggerNonUserCode]
public override void EnterRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.EnterPrivilege(this);
}
[System.Diagnostics.DebuggerNonUserCode]
public override void ExitRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.ExitPrivilege(this);
}
}
[RuleVersion(0)]
public PrivilegeContext privilege() {
PrivilegeContext _localctx = new PrivilegeContext(Context, State);
EnterRule(_localctx, 2, RULE_privilege);
int _la;
try {
EnterOuterAlt(_localctx, 1);
{
State = 154;
_la = TokenStream.LA(1);
if ( !(((_la) & ~0x3f) == 0 && ((1L << _la) & 74344578223702016L) != 0 || (((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & -144112988784164863L) != 0) ) {
ErrorHandler.RecoverInline(this);
}
else {
ErrorHandler.ReportMatch(this);
Consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
ErrorHandler.ReportError(this, re);
ErrorHandler.Recover(this, re);
}
finally {
ExitRule();
}
return _localctx;
}
public partial class Type_nameContext : ParserRuleContext {
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LONGBINARY_() { return GetToken(MSAccessParser.LONGBINARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BINARY_() { return GetToken(MSAccessParser.BINARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BIT_() { return GetToken(MSAccessParser.BIT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode COUNTER_() { return GetToken(MSAccessParser.COUNTER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENCY_() { return GetToken(MSAccessParser.CURRENCY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATE_() { return GetToken(MSAccessParser.DATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TIME_() { return GetToken(MSAccessParser.TIME_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATETIME_() { return GetToken(MSAccessParser.DATETIME_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TIMESTAMP_() { return GetToken(MSAccessParser.TIMESTAMP_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode GUID_() { return GetToken(MSAccessParser.GUID_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LONGTEXT_() { return GetToken(MSAccessParser.LONGTEXT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SINGLE_() { return GetToken(MSAccessParser.SINGLE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DOUBLE_() { return GetToken(MSAccessParser.DOUBLE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode UNSIGNED_() { return GetToken(MSAccessParser.UNSIGNED_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BYTE_() { return GetToken(MSAccessParser.BYTE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode SHORT_() { return GetToken(MSAccessParser.SHORT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode INTEGER_() { return GetToken(MSAccessParser.INTEGER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode LONG_() { return GetToken(MSAccessParser.LONG_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NUMERIC_() { return GetToken(MSAccessParser.NUMERIC_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARCHAR_() { return GetToken(MSAccessParser.VARCHAR_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode VARBINARY_() { return GetToken(MSAccessParser.VARBINARY_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode YESNO_() { return GetToken(MSAccessParser.YESNO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TEXT_() { return GetToken(MSAccessParser.TEXT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode REPLICATIONID_() { return GetToken(MSAccessParser.REPLICATIONID_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode AUTONUMBER_() { return GetToken(MSAccessParser.AUTONUMBER_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OLEOBJECT_() { return GetToken(MSAccessParser.OLEOBJECT_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode MEMO_() { return GetToken(MSAccessParser.MEMO_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode HYPERLINK_() { return GetToken(MSAccessParser.HYPERLINK_, 0); }
public Type_nameContext(ParserRuleContext parent, int invokingState)
: base(parent, invokingState)
{
}
public override int RuleIndex { get { return RULE_type_name; } }
[System.Diagnostics.DebuggerNonUserCode]
public override void EnterRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.EnterType_name(this);
}
[System.Diagnostics.DebuggerNonUserCode]
public override void ExitRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.ExitType_name(this);
}
}
[RuleVersion(0)]
public Type_nameContext type_name() {
Type_nameContext _localctx = new Type_nameContext(Context, State);
EnterRule(_localctx, 4, RULE_type_name);
try {
State = 184;
ErrorHandler.Sync(this);
switch (TokenStream.LA(1)) {
case LONGBINARY_:
EnterOuterAlt(_localctx, 1);
{
State = 156;
Match(LONGBINARY_);
}
break;
case BINARY_:
EnterOuterAlt(_localctx, 2);
{
State = 157;
Match(BINARY_);
}
break;
case BIT_:
EnterOuterAlt(_localctx, 3);
{
State = 158;
Match(BIT_);
}
break;
case COUNTER_:
EnterOuterAlt(_localctx, 4);
{
State = 159;
Match(COUNTER_);
}
break;
case CURRENCY_:
EnterOuterAlt(_localctx, 5);
{
State = 160;
Match(CURRENCY_);
}
break;
case DATE_:
EnterOuterAlt(_localctx, 6);
{
State = 161;
Match(DATE_);
}
break;
case TIME_:
EnterOuterAlt(_localctx, 7);
{
State = 162;
Match(TIME_);
}
break;
case DATETIME_:
EnterOuterAlt(_localctx, 8);
{
State = 163;
Match(DATETIME_);
}
break;
case TIMESTAMP_:
EnterOuterAlt(_localctx, 9);
{
State = 164;
Match(TIMESTAMP_);
}
break;
case GUID_:
EnterOuterAlt(_localctx, 10);
{
State = 165;
Match(GUID_);
}
break;
case LONGTEXT_:
EnterOuterAlt(_localctx, 11);
{
State = 166;
Match(LONGTEXT_);
}
break;
case SINGLE_:
EnterOuterAlt(_localctx, 12);
{
State = 167;
Match(SINGLE_);
}
break;
case DOUBLE_:
EnterOuterAlt(_localctx, 13);
{
State = 168;
Match(DOUBLE_);
}
break;
case UNSIGNED_:
EnterOuterAlt(_localctx, 14);
{
State = 169;
Match(UNSIGNED_);
State = 170;
Match(BYTE_);
}
break;
case SHORT_:
EnterOuterAlt(_localctx, 15);
{
State = 171;
Match(SHORT_);
}
break;
case INTEGER_:
EnterOuterAlt(_localctx, 16);
{
State = 172;
Match(INTEGER_);
}
break;
case LONG_:
EnterOuterAlt(_localctx, 17);
{
State = 173;
Match(LONG_);
}
break;
case NUMERIC_:
EnterOuterAlt(_localctx, 18);
{
State = 174;
Match(NUMERIC_);
}
break;
case VARCHAR_:
EnterOuterAlt(_localctx, 19);
{
State = 175;
Match(VARCHAR_);
}
break;
case VARBINARY_:
EnterOuterAlt(_localctx, 20);
{
State = 176;
Match(VARBINARY_);
}
break;
case YESNO_:
EnterOuterAlt(_localctx, 21);
{
State = 177;
Match(YESNO_);
}
break;
case TEXT_:
EnterOuterAlt(_localctx, 22);
{
State = 178;
Match(TEXT_);
}
break;
case REPLICATIONID_:
EnterOuterAlt(_localctx, 23);
{
State = 179;
Match(REPLICATIONID_);
}
break;
case AUTONUMBER_:
EnterOuterAlt(_localctx, 24);
{
State = 180;
Match(AUTONUMBER_);
}
break;
case OLEOBJECT_:
EnterOuterAlt(_localctx, 25);
{
State = 181;
Match(OLEOBJECT_);
}
break;
case MEMO_:
EnterOuterAlt(_localctx, 26);
{
State = 182;
Match(MEMO_);
}
break;
case HYPERLINK_:
EnterOuterAlt(_localctx, 27);
{
State = 183;
Match(HYPERLINK_);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
ErrorHandler.ReportError(this, re);
ErrorHandler.Recover(this, re);
}
finally {
ExitRule();
}
return _localctx;
}
public partial class Literal_exprContext : ParserRuleContext {
public IToken literal;
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NUMERIC_LITERAL() { return GetToken(MSAccessParser.NUMERIC_LITERAL, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STRING_LITERAL() { return GetToken(MSAccessParser.STRING_LITERAL, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode DATE_LITERAL() { return GetToken(MSAccessParser.DATE_LITERAL, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode BLOB_LITERAL() { return GetToken(MSAccessParser.BLOB_LITERAL, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode NULL_() { return GetToken(MSAccessParser.NULL_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode TRUE_() { return GetToken(MSAccessParser.TRUE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode FALSE_() { return GetToken(MSAccessParser.FALSE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENT_TIME_() { return GetToken(MSAccessParser.CURRENT_TIME_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENT_DATE_() { return GetToken(MSAccessParser.CURRENT_DATE_, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CURRENT_TIMESTAMP_() { return GetToken(MSAccessParser.CURRENT_TIMESTAMP_, 0); }
public Literal_exprContext(ParserRuleContext parent, int invokingState)
: base(parent, invokingState)
{
}
public override int RuleIndex { get { return RULE_literal_expr; } }
[System.Diagnostics.DebuggerNonUserCode]
public override void EnterRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.EnterLiteral_expr(this);
}
[System.Diagnostics.DebuggerNonUserCode]
public override void ExitRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.ExitLiteral_expr(this);
}
}
[RuleVersion(0)]
public Literal_exprContext literal_expr() {
Literal_exprContext _localctx = new Literal_exprContext(Context, State);
EnterRule(_localctx, 6, RULE_literal_expr);
int _la;
try {
EnterOuterAlt(_localctx, 1);
{
State = 186;
_localctx.literal = TokenStream.LT(1);
_la = TokenStream.LA(1);
if ( !((((_la - 46)) & ~0x3f) == 0 && ((1L << (_la - 46)) & 2199023255559L) != 0 || (((_la - 121)) & ~0x3f) == 0 && ((1L << (_la - 121)) & 2040693581152259L) != 0) ) {
_localctx.literal = ErrorHandler.RecoverInline(this);
}
else {
ErrorHandler.ReportMatch(this);
Consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
ErrorHandler.ReportError(this, re);
ErrorHandler.Recover(this, re);
}
finally {
ExitRule();
}
return _localctx;
}
public partial class Column_aliasContext : ParserRuleContext {
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IDENTIFIER() { return GetToken(MSAccessParser.IDENTIFIER, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STRING_LITERAL() { return GetToken(MSAccessParser.STRING_LITERAL, 0); }
public Column_aliasContext(ParserRuleContext parent, int invokingState)
: base(parent, invokingState)
{
}
public override int RuleIndex { get { return RULE_column_alias; } }
[System.Diagnostics.DebuggerNonUserCode]
public override void EnterRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.EnterColumn_alias(this);
}
[System.Diagnostics.DebuggerNonUserCode]
public override void ExitRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.ExitColumn_alias(this);
}
}
[RuleVersion(0)]
public Column_aliasContext column_alias() {
Column_aliasContext _localctx = new Column_aliasContext(Context, State);
EnterRule(_localctx, 8, RULE_column_alias);
int _la;
try {
EnterOuterAlt(_localctx, 1);
{
State = 188;
_la = TokenStream.LA(1);
if ( !(_la==IDENTIFIER || _la==STRING_LITERAL) ) {
ErrorHandler.RecoverInline(this);
}
else {
ErrorHandler.ReportMatch(this);
Consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
ErrorHandler.ReportError(this, re);
ErrorHandler.Recover(this, re);
}
finally {
ExitRule();
}
return _localctx;
}
public partial class Any_nameContext : ParserRuleContext {
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode IDENTIFIER() { return GetToken(MSAccessParser.IDENTIFIER, 0); }
[System.Diagnostics.DebuggerNonUserCode] public KeywordContext keyword() {
return GetRuleContext<KeywordContext>(0);
}
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode STRING_LITERAL() { return GetToken(MSAccessParser.STRING_LITERAL, 0); }
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode OPEN_PAR() { return GetToken(MSAccessParser.OPEN_PAR, 0); }
[System.Diagnostics.DebuggerNonUserCode] public Any_nameContext any_name() {
return GetRuleContext<Any_nameContext>(0);
}
[System.Diagnostics.DebuggerNonUserCode] public ITerminalNode CLOSE_PAR() { return GetToken(MSAccessParser.CLOSE_PAR, 0); }
public Any_nameContext(ParserRuleContext parent, int invokingState)
: base(parent, invokingState)
{
}
public override int RuleIndex { get { return RULE_any_name; } }
[System.Diagnostics.DebuggerNonUserCode]
public override void EnterRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.EnterAny_name(this);
}
[System.Diagnostics.DebuggerNonUserCode]
public override void ExitRule(IParseTreeListener listener) {
IMSAccessParserListener typedListener = listener as IMSAccessParserListener;
if (typedListener != null) typedListener.ExitAny_name(this);
}
}
[RuleVersion(0)]
public Any_nameContext any_name() {
Any_nameContext _localctx = new Any_nameContext(Context, State);
EnterRule(_localctx, 10, RULE_any_name);
try {
State = 197;
ErrorHandler.Sync(this);
switch (TokenStream.LA(1)) {
case IDENTIFIER:
EnterOuterAlt(_localctx, 1);
{
State = 190;
Match(IDENTIFIER);
}
break;
case ADD_:
case ALL_:
case ALTER_:
case AND_:
case AS_:
case ASC_:
case BEGIN_:
case BETWEEN_:
case BY_:
case CASCADE_:
case CASE_:
case CAST_:
case CHECK_:
case COLUMN_:
case COMMIT_:
case COMP_:
case COMPRESSION_:
case CONSTRAINT_:
case CREATE_:
case CURRENT_DATE_:
case CURRENT_TIME_:
case CURRENT_TIMESTAMP_:
case DATABASE_:
case DEFAULT_:
case DELETE_:
case DESC_:
case DISALLOW_:
case DISTINCT_:
case DISTINCTROW_:
case DROP_:
case ELSE_:
case END_:
case EQV_:
case ESCAPE_:
case EXCEPT_:
case EXISTS_:
case FOREIGN_:
case FROM_:
case GROUP_:
case HAVING_:
case IGNORE_:
case IN_:
case INDEX_:
case INDEXED_:
case INNER_:
case INSERT_:
case INTERSECT_:
case INTO_:
case IS_:
case JOIN_:
case KEY_:
case LEFT_:
case ALIKE_:
case LIKE_:
case TOP_:
case MATCH_:
case MINUS_:
case NO_:
case NOT_:
case NULL_:
case ON_:
case OR_:
case ORDER_:
case OUTER_:
case PARAMETERS_:
case PASSWORD_:
case PRIMARY_:
case PROCEDURE_:
case REFERENCES_:
case REGEXP_:
case RIGHT_:
case ROLLBACK_:
case SELECT_:
case SET_:
case TABLE_:
case TEMP_:
case TEMPORARY_:
case THEN_:
case TO_:
case TRANSACTION_:
case USER_:
case WORK_:
case UNION_:
case UNIQUE_:
case UPDATE_:
case VALUES_:
case VIEW_:
case WHEN_:
case WHERE_:
case WITH_:
case XOR_:
case TRUE_:
case FALSE_:
case NULLS_:
case FIRST_:
case LAST_:
case OBJECT_:
case CONTAINER_:
case GRANT_:
case REVOKE_:
case SELECTSECURITY_:
case UPDATESECURITY_:
case DBPASSWORD_:
case UPDATEIDENTITY_:
case SELECTSCHEMA_:
case SCHEMA_:
case UPDATEOWNER_:
case LONGBINARY_:
case BINARY_:
case BIT_:
case COUNTER_:
case CURRENCY_:
case DATE_:
case TIME_:
case DATETIME_:
case TIMESTAMP_:
case GUID_:
case LONGTEXT_:
case SINGLE_:
case DOUBLE_:
case UNSIGNED_:
case BYTE_:
case SHORT_:
case INTEGER_:
case LONG_:
case NUMERIC_:
case VARCHAR_:
case VARBINARY_:
case YESNO_:
case TEXT_:
case REPLICATIONID_:
case AUTONUMBER_:
case OLEOBJECT_:
case MEMO_:
case HYPERLINK_:
case PERCENT_:
EnterOuterAlt(_localctx, 2);
{
State = 191;
keyword();
}
break;
case STRING_LITERAL:
EnterOuterAlt(_localctx, 3);
{