@@ -23,20 +23,20 @@ export class PostgreSQL extends BasicSQL<PostgreSqlLexer, ProgramContext, Postgr
23
23
}
24
24
25
25
protected preferredRules : Set < number > = new Set ( [
26
- PostgreSqlParser . RULE_table_name_create , // table name
27
- PostgreSqlParser . RULE_table_name , // table name that will be created
28
- PostgreSqlParser . RULE_function_name , // function name
29
- PostgreSqlParser . RULE_function_name_create , // function name that will be created
30
- PostgreSqlParser . RULE_schema_name_create , // schema name that will be created
31
- PostgreSqlParser . RULE_schema_name , // schema name
32
- PostgreSqlParser . RULE_view_name_create , // view name that will be created
33
- PostgreSqlParser . RULE_view_name , // view name
34
- PostgreSqlParser . RULE_database_name_create , // database name that will be created
35
- PostgreSqlParser . RULE_database_name , // database name
36
- PostgreSqlParser . RULE_procedure_name_create , // procedure name that will be created
37
- PostgreSqlParser . RULE_procedure_name , // procedure name
38
- PostgreSqlParser . RULE_column_name_create , // column name that will be created
39
- PostgreSqlParser . RULE_column_name , // column name
26
+ PostgreSqlParser . RULE_tableNameCreate , // table name
27
+ PostgreSqlParser . RULE_tableName , // table name that will be created
28
+ PostgreSqlParser . RULE_functionName , // function name
29
+ PostgreSqlParser . RULE_functionNameCreate , // function name that will be created
30
+ PostgreSqlParser . RULE_schemaNameCreate , // schema name that will be created
31
+ PostgreSqlParser . RULE_schemaName , // schema name
32
+ PostgreSqlParser . RULE_viewNameCreate , // view name that will be created
33
+ PostgreSqlParser . RULE_viewName , // view name
34
+ PostgreSqlParser . RULE_databaseNameCreate , // database name that will be created
35
+ PostgreSqlParser . RULE_databaseName , // database name
36
+ PostgreSqlParser . RULE_procedureNameCreate , // procedure name that will be created
37
+ PostgreSqlParser . RULE_procedureName , // procedure name
38
+ PostgreSqlParser . RULE_columnNameCreate , // column name that will be created
39
+ PostgreSqlParser . RULE_columnName , // column name
40
40
] ) ;
41
41
42
42
protected get splitListener ( ) {
@@ -69,59 +69,59 @@ export class PostgreSQL extends BasicSQL<PostgreSqlLexer, ProgramContext, Postgr
69
69
70
70
let syntaxContextType : EntityContextType | StmtContextType | undefined = void 0 ;
71
71
switch ( ruleType ) {
72
- case PostgreSqlParser . RULE_table_name_create : {
72
+ case PostgreSqlParser . RULE_tableNameCreate : {
73
73
syntaxContextType = EntityContextType . TABLE_CREATE ;
74
74
break ;
75
75
}
76
- case PostgreSqlParser . RULE_table_name : {
76
+ case PostgreSqlParser . RULE_tableName : {
77
77
syntaxContextType = EntityContextType . TABLE ;
78
78
break ;
79
79
}
80
- case PostgreSqlParser . RULE_function_name_create : {
80
+ case PostgreSqlParser . RULE_functionNameCreate : {
81
81
syntaxContextType = EntityContextType . FUNCTION_CREATE ;
82
82
break ;
83
83
}
84
- case PostgreSqlParser . RULE_function_name : {
84
+ case PostgreSqlParser . RULE_functionName : {
85
85
syntaxContextType = EntityContextType . FUNCTION ;
86
86
break ;
87
87
}
88
- case PostgreSqlParser . RULE_schema_name_create : {
88
+ case PostgreSqlParser . RULE_schemaNameCreate : {
89
89
syntaxContextType = EntityContextType . DATABASE_CREATE ;
90
90
break ;
91
91
}
92
- case PostgreSqlParser . RULE_schema_name : {
92
+ case PostgreSqlParser . RULE_schemaName : {
93
93
syntaxContextType = EntityContextType . DATABASE ;
94
94
break ;
95
95
}
96
- case PostgreSqlParser . RULE_view_name_create : {
96
+ case PostgreSqlParser . RULE_viewNameCreate : {
97
97
syntaxContextType = EntityContextType . VIEW_CREATE ;
98
98
break ;
99
99
}
100
- case PostgreSqlParser . RULE_view_name : {
100
+ case PostgreSqlParser . RULE_viewName : {
101
101
syntaxContextType = EntityContextType . VIEW ;
102
102
break ;
103
103
}
104
- case PostgreSqlParser . RULE_database_name_create : {
104
+ case PostgreSqlParser . RULE_databaseNameCreate : {
105
105
syntaxContextType = EntityContextType . DATABASE_CREATE ;
106
106
break ;
107
107
}
108
- case PostgreSqlParser . RULE_database_name : {
108
+ case PostgreSqlParser . RULE_databaseName : {
109
109
syntaxContextType = EntityContextType . DATABASE ;
110
110
break ;
111
111
}
112
- case PostgreSqlParser . RULE_procedure_name_create : {
112
+ case PostgreSqlParser . RULE_procedureNameCreate : {
113
113
syntaxContextType = EntityContextType . PROCEDURE_CREATE ;
114
114
break ;
115
115
}
116
- case PostgreSqlParser . RULE_procedure_name : {
116
+ case PostgreSqlParser . RULE_procedureName : {
117
117
syntaxContextType = EntityContextType . PROCEDURE ;
118
118
break ;
119
119
}
120
- case PostgreSqlParser . RULE_column_name_create : {
120
+ case PostgreSqlParser . RULE_columnNameCreate : {
121
121
syntaxContextType = EntityContextType . COLUMN_CREATE ;
122
122
break ;
123
123
}
124
- case PostgreSqlParser . RULE_column_name : {
124
+ case PostgreSqlParser . RULE_columnName : {
125
125
syntaxContextType = EntityContextType . COLUMN ;
126
126
break ;
127
127
}
0 commit comments