@designliquido/lincones-sqlite 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/execucao.d.ts +1 -1
- package/execucao.js +52 -52
- package/execucao.js.map +1 -1
- package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +6 -15
- package/fontes/avaliador-sintatico/avaliador-sintatico.js +42 -261
- package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/fontes/avaliador-sintatico/index.d.ts +1 -2
- package/fontes/avaliador-sintatico/index.js +5 -20
- package/fontes/avaliador-sintatico/index.js.map +1 -1
- package/fontes/comum/fontes/avaliador-sintatico/avaliador-sintatico-base.d.ts +36 -0
- package/{comum/fontes/avaliador-sintatico/avaliador-sintatico.js → fontes/comum/fontes/avaliador-sintatico/avaliador-sintatico-base.js} +444 -353
- package/fontes/comum/fontes/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -0
- package/fontes/comum/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +7 -0
- package/fontes/comum/fontes/avaliador-sintatico/avaliador-sintatico.js +12 -0
- package/fontes/comum/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -0
- package/{comum → fontes/comum}/fontes/avaliador-sintatico/erro-avaliador-sintatico.d.ts +5 -5
- package/{comum → fontes/comum}/fontes/avaliador-sintatico/erro-avaliador-sintatico.js +11 -11
- package/fontes/comum/fontes/avaliador-sintatico/erro-avaliador-sintatico.js.map +1 -0
- package/fontes/comum/fontes/avaliador-sintatico/index.d.ts +3 -0
- package/{comum → fontes/comum}/fontes/avaliador-sintatico/index.js +19 -22
- package/fontes/comum/fontes/avaliador-sintatico/index.js.map +1 -0
- package/fontes/comum/fontes/comandos/alterar.d.ts +8 -0
- package/fontes/comum/fontes/comandos/alterar.js +14 -0
- package/fontes/comum/fontes/comandos/alterar.js.map +1 -0
- package/{comum → fontes/comum}/fontes/comandos/atualizar.d.ts +14 -14
- package/{comum → fontes/comum}/fontes/comandos/atualizar.js +13 -13
- package/fontes/comum/fontes/comandos/atualizar.js.map +1 -0
- package/{comum → fontes/comum}/fontes/comandos/comando.d.ts +6 -6
- package/{comum → fontes/comum}/fontes/comandos/comando.js +13 -13
- package/fontes/comum/fontes/comandos/comando.js.map +1 -0
- package/fontes/comum/fontes/comandos/criar.d.ts +8 -0
- package/{comum → fontes/comum}/fontes/comandos/criar.js +12 -12
- package/fontes/comum/fontes/comandos/criar.js.map +1 -0
- package/fontes/comum/fontes/comandos/excluir-entidade.d.ts +6 -0
- package/fontes/comum/fontes/comandos/excluir-entidade.js +13 -0
- package/fontes/comum/fontes/comandos/excluir-entidade.js.map +1 -0
- package/{comum → fontes/comum}/fontes/comandos/excluir.d.ts +6 -6
- package/{comum → fontes/comum}/fontes/comandos/excluir.js +12 -12
- package/fontes/comum/fontes/comandos/excluir.js.map +1 -0
- package/{comum → fontes/comum}/fontes/comandos/index.d.ts +8 -7
- package/{comum → fontes/comum}/fontes/comandos/index.js +24 -23
- package/fontes/comum/fontes/comandos/index.js.map +1 -0
- package/{comum → fontes/comum}/fontes/comandos/inserir.d.ts +8 -8
- package/{comum → fontes/comum}/fontes/comandos/inserir.js +13 -13
- package/fontes/comum/fontes/comandos/inserir.js.map +1 -0
- package/{comum → fontes/comum}/fontes/comandos/selecionar.d.ts +9 -9
- package/{comum → fontes/comum}/fontes/comandos/selecionar.js +14 -14
- package/fontes/comum/fontes/comandos/selecionar.js.map +1 -0
- package/{comum → fontes/comum}/fontes/construtos/coluna.d.ts +11 -11
- package/{comum → fontes/comum}/fontes/construtos/coluna.js +19 -15
- package/fontes/comum/fontes/construtos/coluna.js.map +1 -0
- package/{comum → fontes/comum}/fontes/construtos/condicao.d.ts +6 -6
- package/{comum → fontes/comum}/fontes/construtos/condicao.js +11 -11
- package/fontes/comum/fontes/construtos/condicao.js.map +1 -0
- package/{comum → fontes/comum}/fontes/construtos/index.d.ts +2 -1
- package/{comum → fontes/comum}/fontes/construtos/index.js +18 -17
- package/fontes/comum/fontes/construtos/index.js.map +1 -0
- package/fontes/comum/fontes/construtos/operacao-alteracao-tabela.d.ts +7 -0
- package/fontes/comum/fontes/construtos/operacao-alteracao-tabela.js +15 -0
- package/fontes/comum/fontes/construtos/operacao-alteracao-tabela.js.map +1 -0
- package/fontes/comum/fontes/construtos/restricao.d.ts +13 -0
- package/fontes/comum/fontes/construtos/restricao.js +19 -0
- package/fontes/comum/fontes/construtos/restricao.js.map +1 -0
- package/{comum → fontes/comum}/fontes/interfaces/avaliador-sintatico-interface.d.ts +14 -14
- package/{comum → fontes/comum}/fontes/interfaces/avaliador-sintatico-interface.js +2 -2
- package/fontes/comum/fontes/interfaces/avaliador-sintatico-interface.js.map +1 -0
- package/fontes/comum/fontes/interfaces/index.d.ts +3 -0
- package/fontes/comum/fontes/interfaces/index.js +20 -0
- package/fontes/comum/fontes/interfaces/index.js.map +1 -0
- package/fontes/comum/fontes/interfaces/lincones-interface.d.ts +3 -0
- package/{comum → fontes/comum}/fontes/interfaces/lincones-interface.js +2 -2
- package/fontes/comum/fontes/interfaces/lincones-interface.js.map +1 -0
- package/{comum → fontes/comum}/fontes/interfaces/retornos/index.d.ts +16 -16
- package/{comum → fontes/comum}/fontes/interfaces/retornos/index.js +2 -2
- package/fontes/comum/fontes/interfaces/retornos/index.js.map +1 -0
- package/{comum → fontes/comum}/fontes/interfaces/simbolo-interface.d.ts +6 -6
- package/{comum → fontes/comum}/fontes/interfaces/simbolo-interface.js +2 -2
- package/fontes/comum/fontes/interfaces/simbolo-interface.js.map +1 -0
- package/fontes/comum/fontes/lexador/index.d.ts +1 -0
- package/{comum/fontes/interfaces → fontes/comum/fontes/lexador}/index.js +17 -17
- package/fontes/comum/fontes/lexador/index.js.map +1 -0
- package/{comum/fontes/lexador/index.d.ts → fontes/comum/fontes/lexador/lexador.d.ts} +26 -26
- package/{comum/fontes/lexador/index.js → fontes/comum/fontes/lexador/lexador.js} +220 -220
- package/fontes/comum/fontes/lexador/lexador.js.map +1 -0
- package/{comum → fontes/comum}/fontes/lexador/simbolo.d.ts +9 -9
- package/{comum → fontes/comum}/fontes/lexador/simbolo.js +15 -15
- package/fontes/comum/fontes/lexador/simbolo.js.map +1 -0
- package/{comum → fontes/comum}/fontes/palavras-reservadas.d.ts +51 -40
- package/{comum → fontes/comum}/fontes/palavras-reservadas.js +56 -45
- package/fontes/comum/fontes/palavras-reservadas.js.map +1 -0
- package/{comum → fontes/comum}/fontes/tipos-de-simbolos.d.ts +57 -52
- package/{comum → fontes/comum}/fontes/tipos-de-simbolos.js +58 -53
- package/fontes/comum/fontes/tipos-de-simbolos.js.map +1 -0
- package/fontes/comum/fontes/tradutor/index.d.ts +32 -0
- package/{comum → fontes/comum}/fontes/tradutor/index.js +238 -183
- package/fontes/comum/fontes/tradutor/index.js.map +1 -0
- package/fontes/comum/index.d.ts +8 -0
- package/fontes/comum/index.js +25 -0
- package/fontes/comum/index.js.map +1 -0
- package/{comum → fontes/comum}/jest.config.d.ts +3 -3
- package/{comum → fontes/comum}/jest.config.js +11 -11
- package/fontes/comum/jest.config.js.map +1 -0
- package/{comum/execucao.d.ts → fontes/comum/testes/avaliador-sintatico.test.d.ts} +1 -1
- package/fontes/comum/testes/avaliador-sintatico.test.js +86 -0
- package/fontes/comum/testes/avaliador-sintatico.test.js.map +1 -0
- package/fontes/comum/testes/lexador.test.d.ts +1 -0
- package/fontes/comum/testes/lexador.test.js +83 -0
- package/fontes/comum/testes/lexador.test.js.map +1 -0
- package/fontes/comum/testes/tradutor.test.d.ts +1 -0
- package/fontes/comum/testes/tradutor.test.js +133 -0
- package/fontes/comum/testes/tradutor.test.js.map +1 -0
- package/fontes/infraestrutura/cliente-sqlite.d.ts +10 -10
- package/fontes/infraestrutura/cliente-sqlite.js +71 -71
- package/fontes/infraestrutura/cliente-sqlite.js.map +1 -1
- package/fontes/infraestrutura/index.d.ts +2 -2
- package/fontes/infraestrutura/index.js +18 -18
- package/fontes/infraestrutura/retorno-comando.d.ts +8 -8
- package/fontes/infraestrutura/retorno-comando.js +28 -28
- package/fontes/infraestrutura/retorno-comando.js.map +1 -1
- package/fontes/lincones-sqlite.d.ts +13 -13
- package/fontes/lincones-sqlite.js +28 -28
- package/fontes/lincones-sqlite.js.map +1 -1
- package/fontes/palavras-reservadas.d.ts +26 -26
- package/fontes/palavras-reservadas.js +31 -31
- package/fontes/palavras-reservadas.js.map +1 -1
- package/fontes/tradutor/index.d.ts +21 -19
- package/fontes/tradutor/index.js +152 -149
- package/fontes/tradutor/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +17 -17
- package/package.json +12 -12
- package/comum/execucao.js +0 -40
- package/comum/execucao.js.map +0 -1
- package/comum/fontes/avaliador-sintatico/avaliador-sintatico-base.d.ts +0 -15
- package/comum/fontes/avaliador-sintatico/avaliador-sintatico-base.js +0 -46
- package/comum/fontes/avaliador-sintatico/avaliador-sintatico-base.js.map +0 -1
- package/comum/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +0 -16
- package/comum/fontes/avaliador-sintatico/avaliador-sintatico.js.map +0 -1
- package/comum/fontes/avaliador-sintatico/erro-avaliador-sintatico.js.map +0 -1
- package/comum/fontes/avaliador-sintatico/index.d.ts +0 -3
- package/comum/fontes/avaliador-sintatico/index.js.map +0 -1
- package/comum/fontes/comandos/alterar.d.ts +0 -13
- package/comum/fontes/comandos/alterar.js +0 -19
- package/comum/fontes/comandos/alterar.js.map +0 -1
- package/comum/fontes/comandos/atualizar.js.map +0 -1
- package/comum/fontes/comandos/comando.js.map +0 -1
- package/comum/fontes/comandos/criar.d.ts +0 -7
- package/comum/fontes/comandos/criar.js.map +0 -1
- package/comum/fontes/comandos/excluir.js.map +0 -1
- package/comum/fontes/comandos/index.js.map +0 -1
- package/comum/fontes/comandos/inserir.js.map +0 -1
- package/comum/fontes/comandos/selecionar.js.map +0 -1
- package/comum/fontes/construtos/coluna.js.map +0 -1
- package/comum/fontes/construtos/condicao.js.map +0 -1
- package/comum/fontes/construtos/index.js.map +0 -1
- package/comum/fontes/interfaces/avaliador-sintatico-interface.js.map +0 -1
- package/comum/fontes/interfaces/index.d.ts +0 -3
- package/comum/fontes/interfaces/index.js.map +0 -1
- package/comum/fontes/interfaces/lincones-interface.d.ts +0 -3
- package/comum/fontes/interfaces/lincones-interface.js.map +0 -1
- package/comum/fontes/interfaces/retornos/index.js.map +0 -1
- package/comum/fontes/interfaces/simbolo-interface.js.map +0 -1
- package/comum/fontes/lexador/index.js.map +0 -1
- package/comum/fontes/lexador/simbolo.js.map +0 -1
- package/comum/fontes/lincones.d.ts +0 -10
- package/comum/fontes/lincones.js +0 -21
- package/comum/fontes/lincones.js.map +0 -1
- package/comum/fontes/palavras-reservadas.js.map +0 -1
- package/comum/fontes/tipos-de-simbolos.js.map +0 -1
- package/comum/fontes/tradutor/index.d.ts +0 -20
- package/comum/fontes/tradutor/index.js.map +0 -1
- package/comum/index.d.ts +0 -1
- package/comum/index.js +0 -6
- package/comum/index.js.map +0 -1
- package/comum/jest.config.js.map +0 -1
- package/fontes/lexador/index.d.ts +0 -26
- package/fontes/lexador/index.js +0 -220
- package/fontes/lexador/index.js.map +0 -1
|
@@ -1,46 +1,57 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const tipos_de_simbolos_1 = __importDefault(require("./tipos-de-simbolos"));
|
|
7
|
-
exports.default = {
|
|
8
|
-
adicionar: tipos_de_simbolos_1.default.ADICIONAR,
|
|
9
|
-
agrupar: tipos_de_simbolos_1.default.AGRUPAR,
|
|
10
|
-
alterar: tipos_de_simbolos_1.default.ALTERAR,
|
|
11
|
-
atualizar: tipos_de_simbolos_1.default.ATUALIZAR,
|
|
12
|
-
auto: tipos_de_simbolos_1.default.AUTO,
|
|
13
|
-
coluna: tipos_de_simbolos_1.default.COLUNA,
|
|
14
|
-
chave: tipos_de_simbolos_1.default.CHAVE,
|
|
15
|
-
criar: tipos_de_simbolos_1.default.CRIAR,
|
|
16
|
-
de: tipos_de_simbolos_1.default.DE,
|
|
17
|
-
definir: tipos_de_simbolos_1.default.DEFINIR,
|
|
18
|
-
distinto: tipos_de_simbolos_1.default.DISTINTO,
|
|
19
|
-
e: tipos_de_simbolos_1.default.E,
|
|
20
|
-
entre: tipos_de_simbolos_1.default.ENTRE,
|
|
21
|
-
em: tipos_de_simbolos_1.default.EM,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const tipos_de_simbolos_1 = __importDefault(require("./tipos-de-simbolos"));
|
|
7
|
+
exports.default = {
|
|
8
|
+
adicionar: tipos_de_simbolos_1.default.ADICIONAR,
|
|
9
|
+
agrupar: tipos_de_simbolos_1.default.AGRUPAR,
|
|
10
|
+
alterar: tipos_de_simbolos_1.default.ALTERAR,
|
|
11
|
+
atualizar: tipos_de_simbolos_1.default.ATUALIZAR,
|
|
12
|
+
auto: tipos_de_simbolos_1.default.AUTO,
|
|
13
|
+
coluna: tipos_de_simbolos_1.default.COLUNA,
|
|
14
|
+
chave: tipos_de_simbolos_1.default.CHAVE,
|
|
15
|
+
criar: tipos_de_simbolos_1.default.CRIAR,
|
|
16
|
+
de: tipos_de_simbolos_1.default.DE,
|
|
17
|
+
definir: tipos_de_simbolos_1.default.DEFINIR,
|
|
18
|
+
distinto: tipos_de_simbolos_1.default.DISTINTO,
|
|
19
|
+
e: tipos_de_simbolos_1.default.E,
|
|
20
|
+
entre: tipos_de_simbolos_1.default.ENTRE,
|
|
21
|
+
em: tipos_de_simbolos_1.default.EM,
|
|
22
|
+
estrangeira: tipos_de_simbolos_1.default.ESTRANGEIRA,
|
|
23
|
+
excluir: tipos_de_simbolos_1.default.EXCLUIR,
|
|
24
|
+
falso: tipos_de_simbolos_1.default.FALSO,
|
|
25
|
+
identidade: tipos_de_simbolos_1.default.IDENTIDADE,
|
|
26
|
+
incremento: tipos_de_simbolos_1.default.INCREMENTO,
|
|
27
|
+
inserir: tipos_de_simbolos_1.default.INSERIR,
|
|
28
|
+
inteiro: tipos_de_simbolos_1.default.INTEIRO,
|
|
29
|
+
logico: tipos_de_simbolos_1.default.LOGICO,
|
|
30
|
+
lógico: tipos_de_simbolos_1.default.LOGICO,
|
|
31
|
+
media: tipos_de_simbolos_1.default.MEDIA,
|
|
32
|
+
nao: tipos_de_simbolos_1.default.NAO,
|
|
33
|
+
não: tipos_de_simbolos_1.default.NAO,
|
|
34
|
+
nulo: tipos_de_simbolos_1.default.NULO,
|
|
35
|
+
onde: tipos_de_simbolos_1.default.ONDE,
|
|
36
|
+
ordenar: tipos_de_simbolos_1.default.ORDENAR,
|
|
37
|
+
para: tipos_de_simbolos_1.default.PARA,
|
|
38
|
+
por: tipos_de_simbolos_1.default.POR,
|
|
39
|
+
primaria: tipos_de_simbolos_1.default.PRIMARIA,
|
|
40
|
+
primária: tipos_de_simbolos_1.default.PRIMARIA,
|
|
41
|
+
referencia: tipos_de_simbolos_1.default.REFERENCIA,
|
|
42
|
+
renomear: tipos_de_simbolos_1.default.RENOMEAR,
|
|
43
|
+
remover: tipos_de_simbolos_1.default.REMOVER,
|
|
44
|
+
restricao: tipos_de_simbolos_1.default.RESTRICAO,
|
|
45
|
+
restrição: tipos_de_simbolos_1.default.RESTRICAO,
|
|
46
|
+
se: tipos_de_simbolos_1.default.SE,
|
|
47
|
+
selecionar: tipos_de_simbolos_1.default.SELECIONAR,
|
|
48
|
+
tabela: tipos_de_simbolos_1.default.TABELA,
|
|
49
|
+
texto: tipos_de_simbolos_1.default.TEXTO,
|
|
50
|
+
unica: tipos_de_simbolos_1.default.UNICA,
|
|
51
|
+
única: tipos_de_simbolos_1.default.UNICA,
|
|
52
|
+
valores: tipos_de_simbolos_1.default.VALORES,
|
|
53
|
+
verdadeiro: tipos_de_simbolos_1.default.VERDADEIRO,
|
|
54
|
+
visao: tipos_de_simbolos_1.default.VISAO,
|
|
55
|
+
visão: tipos_de_simbolos_1.default.VISAO
|
|
56
|
+
};
|
|
46
57
|
//# sourceMappingURL=palavras-reservadas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palavras-reservadas.js","sourceRoot":"","sources":["../../../../fontes/comum/fontes/palavras-reservadas.ts"],"names":[],"mappings":";;;;;AAAA,4EAAkD;AAElD,kBAAe;IACX,SAAS,EAAE,2BAAe,CAAC,SAAS;IACpC,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,SAAS,EAAE,2BAAe,CAAC,SAAS;IACpC,IAAI,EAAE,2BAAe,CAAC,IAAI;IAC1B,MAAM,EAAE,2BAAe,CAAC,MAAM;IAC9B,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,EAAE,EAAE,2BAAe,CAAC,EAAE;IACtB,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,QAAQ,EAAE,2BAAe,CAAC,QAAQ;IAClC,CAAC,EAAE,2BAAe,CAAC,CAAC;IACpB,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,EAAE,EAAE,2BAAe,CAAC,EAAE;IACtB,WAAW,EAAE,2BAAe,CAAC,WAAW;IACxC,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,UAAU,EAAE,2BAAe,CAAC,UAAU;IACtC,UAAU,EAAE,2BAAe,CAAC,UAAU;IACtC,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,MAAM,EAAE,2BAAe,CAAC,MAAM;IAC9B,MAAM,EAAE,2BAAe,CAAC,MAAM;IAC9B,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,GAAG,EAAE,2BAAe,CAAC,GAAG;IACxB,GAAG,EAAE,2BAAe,CAAC,GAAG;IACxB,IAAI,EAAE,2BAAe,CAAC,IAAI;IAC1B,IAAI,EAAE,2BAAe,CAAC,IAAI;IAC1B,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,IAAI,EAAE,2BAAe,CAAC,IAAI;IAC1B,GAAG,EAAE,2BAAe,CAAC,GAAG;IACxB,QAAQ,EAAE,2BAAe,CAAC,QAAQ;IAClC,QAAQ,EAAE,2BAAe,CAAC,QAAQ;IAClC,UAAU,EAAE,2BAAe,CAAC,UAAU;IACtC,QAAQ,EAAE,2BAAe,CAAC,QAAQ;IAClC,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,SAAS,EAAE,2BAAe,CAAC,SAAS;IACpC,SAAS,EAAE,2BAAe,CAAC,SAAS;IACpC,EAAE,EAAE,2BAAe,CAAC,EAAE;IACtB,UAAU,EAAE,2BAAe,CAAC,UAAU;IACtC,MAAM,EAAE,2BAAe,CAAC,MAAM;IAC9B,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,OAAO,EAAE,2BAAe,CAAC,OAAO;IAChC,UAAU,EAAE,2BAAe,CAAC,UAAU;IACtC,KAAK,EAAE,2BAAe,CAAC,KAAK;IAC5B,KAAK,EAAE,2BAAe,CAAC,KAAK;CAC/B,CAAC"}
|
|
@@ -1,52 +1,57 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
ADICIONAR: string;
|
|
3
|
-
AGRUPAR: string;
|
|
4
|
-
ALTERAR: string;
|
|
5
|
-
ATUALIZAR: string;
|
|
6
|
-
AUTO: string;
|
|
7
|
-
COLUNA: string;
|
|
8
|
-
CHAVE: string;
|
|
9
|
-
CRIAR: string;
|
|
10
|
-
DE: string;
|
|
11
|
-
DEFINIR: string;
|
|
12
|
-
DISTINTO: string;
|
|
13
|
-
E: string;
|
|
14
|
-
ENTRE: string;
|
|
15
|
-
EM: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
PONTO_VIRGULA: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
ADICIONAR: string;
|
|
3
|
+
AGRUPAR: string;
|
|
4
|
+
ALTERAR: string;
|
|
5
|
+
ATUALIZAR: string;
|
|
6
|
+
AUTO: string;
|
|
7
|
+
COLUNA: string;
|
|
8
|
+
CHAVE: string;
|
|
9
|
+
CRIAR: string;
|
|
10
|
+
DE: string;
|
|
11
|
+
DEFINIR: string;
|
|
12
|
+
DISTINTO: string;
|
|
13
|
+
E: string;
|
|
14
|
+
ENTRE: string;
|
|
15
|
+
EM: string;
|
|
16
|
+
ESTRANGEIRA: string;
|
|
17
|
+
EXCLUIR: string;
|
|
18
|
+
FALSO: string;
|
|
19
|
+
IDENTIDADE: string;
|
|
20
|
+
IDENTIFICADOR: string;
|
|
21
|
+
IGUAL: string;
|
|
22
|
+
INCREMENTO: string;
|
|
23
|
+
INSERIR: string;
|
|
24
|
+
INTEIRO: string;
|
|
25
|
+
LOGICO: string;
|
|
26
|
+
MAIOR: string;
|
|
27
|
+
MAIOR_IGUAL: string;
|
|
28
|
+
MEDIA: string;
|
|
29
|
+
MENOR: string;
|
|
30
|
+
MENOR_IGUAL: string;
|
|
31
|
+
NAO: string;
|
|
32
|
+
NULO: string;
|
|
33
|
+
NUMERO: string;
|
|
34
|
+
ONDE: string;
|
|
35
|
+
ORDENAR: string;
|
|
36
|
+
PARA: string;
|
|
37
|
+
PARENTESE_DIREITO: string;
|
|
38
|
+
PARENTESE_ESQUERDO: string;
|
|
39
|
+
PONTO_VIRGULA: string;
|
|
40
|
+
POR: string;
|
|
41
|
+
PRIMARIA: string;
|
|
42
|
+
REFERENCIA: string;
|
|
43
|
+
RENOMEAR: string;
|
|
44
|
+
REMOVER: string;
|
|
45
|
+
RESTRICAO: string;
|
|
46
|
+
SE: string;
|
|
47
|
+
SELECIONAR: string;
|
|
48
|
+
TABELA: string;
|
|
49
|
+
TEXTO: string;
|
|
50
|
+
TUDO: string;
|
|
51
|
+
UNICA: string;
|
|
52
|
+
VALORES: string;
|
|
53
|
+
VERDADEIRO: string;
|
|
54
|
+
VIRGULA: string;
|
|
55
|
+
VISAO: string;
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
@@ -1,54 +1,59 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = {
|
|
4
|
-
ADICIONAR: 'ADICIONAR',
|
|
5
|
-
AGRUPAR: 'AGRUPAR',
|
|
6
|
-
ALTERAR: 'ALTERAR',
|
|
7
|
-
ATUALIZAR: 'ATUALIZAR',
|
|
8
|
-
AUTO: 'AUTO',
|
|
9
|
-
COLUNA: 'COLUNA',
|
|
10
|
-
CHAVE: 'CHAVE',
|
|
11
|
-
CRIAR: 'CRIAR',
|
|
12
|
-
DE: 'DE',
|
|
13
|
-
DEFINIR: 'DEFINIR',
|
|
14
|
-
DISTINTO: 'DISTINTO',
|
|
15
|
-
E: 'E',
|
|
16
|
-
ENTRE: 'ENTRE',
|
|
17
|
-
EM: 'EM',
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
PONTO_VIRGULA: 'PONTO_VIRGULA',
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
ADICIONAR: 'ADICIONAR',
|
|
5
|
+
AGRUPAR: 'AGRUPAR',
|
|
6
|
+
ALTERAR: 'ALTERAR',
|
|
7
|
+
ATUALIZAR: 'ATUALIZAR',
|
|
8
|
+
AUTO: 'AUTO',
|
|
9
|
+
COLUNA: 'COLUNA',
|
|
10
|
+
CHAVE: 'CHAVE',
|
|
11
|
+
CRIAR: 'CRIAR',
|
|
12
|
+
DE: 'DE',
|
|
13
|
+
DEFINIR: 'DEFINIR',
|
|
14
|
+
DISTINTO: 'DISTINTO',
|
|
15
|
+
E: 'E',
|
|
16
|
+
ENTRE: 'ENTRE',
|
|
17
|
+
EM: 'EM',
|
|
18
|
+
ESTRANGEIRA: 'ESTRANGEIRA',
|
|
19
|
+
EXCLUIR: 'EXCLUIR',
|
|
20
|
+
FALSO: 'FALSO',
|
|
21
|
+
IDENTIDADE: 'IDENTIDADE',
|
|
22
|
+
IDENTIFICADOR: 'IDENTIFICADOR',
|
|
23
|
+
IGUAL: 'IGUAL',
|
|
24
|
+
INCREMENTO: 'INCREMENTO',
|
|
25
|
+
INSERIR: 'INSERIR',
|
|
26
|
+
INTEIRO: 'INTEIRO',
|
|
27
|
+
LOGICO: 'LOGICO',
|
|
28
|
+
MAIOR: 'MAIOR',
|
|
29
|
+
MAIOR_IGUAL: 'MAIOR_IGUAL',
|
|
30
|
+
MEDIA: 'MEDIA',
|
|
31
|
+
MENOR: 'MENOR',
|
|
32
|
+
MENOR_IGUAL: 'MENOR_IGUAL',
|
|
33
|
+
NAO: 'NAO',
|
|
34
|
+
NULO: 'NULO',
|
|
35
|
+
NUMERO: 'NUMERO',
|
|
36
|
+
ONDE: 'ONDE',
|
|
37
|
+
ORDENAR: 'ORDENAR',
|
|
38
|
+
PARA: 'PARA',
|
|
39
|
+
PARENTESE_DIREITO: 'PARENTESE_DIREITO',
|
|
40
|
+
PARENTESE_ESQUERDO: 'PARENTESE_ESQUERDO',
|
|
41
|
+
PONTO_VIRGULA: 'PONTO_VIRGULA',
|
|
42
|
+
POR: 'POR',
|
|
43
|
+
PRIMARIA: 'PRIMARIA',
|
|
44
|
+
REFERENCIA: 'REFERENCIA',
|
|
45
|
+
RENOMEAR: 'RENOMEAR',
|
|
46
|
+
REMOVER: 'REMOVER',
|
|
47
|
+
RESTRICAO: 'RESTRICAO',
|
|
48
|
+
SE: 'SE',
|
|
49
|
+
SELECIONAR: 'SELECIONAR',
|
|
50
|
+
TABELA: 'TABELA',
|
|
51
|
+
TEXTO: 'TEXTO',
|
|
52
|
+
TUDO: 'TUDO',
|
|
53
|
+
UNICA: 'UNICA',
|
|
54
|
+
VALORES: 'VALORES',
|
|
55
|
+
VERDADEIRO: 'VERDADEIRO',
|
|
56
|
+
VIRGULA: 'VIRGULA',
|
|
57
|
+
VISAO: 'VISAO'
|
|
58
|
+
};
|
|
54
59
|
//# sourceMappingURL=tipos-de-simbolos.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tipos-de-simbolos.js","sourceRoot":"","sources":["../../../../fontes/comum/fontes/tipos-de-simbolos.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,CAAC,EAAE,GAAG;IACN,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,iBAAiB,EAAE,mBAAmB;IACtC,kBAAkB,EAAE,oBAAoB;IACxC,aAAa,EAAE,eAAe;IAC9B,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,EAAE,EAAE,IAAI;IACR,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACjB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Alterar, Atualizar, Comando, Criar, Excluir, Inserir, Selecionar } from '../comandos';
|
|
2
|
+
import { Coluna } from '../construtos';
|
|
3
|
+
/**
|
|
4
|
+
* Este tradutor traduz sentenças em SQL ANSI, e a ideia é poder
|
|
5
|
+
* utilizar para outros tradutores futuros, com pequenas nuances em
|
|
6
|
+
* alguns comandos quando for o caso.
|
|
7
|
+
*/
|
|
8
|
+
export declare class TradutorSqlAnsi {
|
|
9
|
+
tamanhoIndentacao: number;
|
|
10
|
+
constructor(tamanhoIndentacao?: number);
|
|
11
|
+
protected traduzirOperador(operador: string): boolean | "=";
|
|
12
|
+
protected traduzirTipoDeDados(tipo: string): "INTEGER" | "BOOLEAN" | "INT" | "VARCHAR";
|
|
13
|
+
protected traduzirTipoDeRestricao(tipo: string): "PRIMARY KEY" | "FOREIGN KEY" | "UNIQUE";
|
|
14
|
+
protected traduzirColunaComTipo(coluna: Coluna): string;
|
|
15
|
+
protected traduzirComandoAtualizar(comandoAtualizar: Atualizar): string;
|
|
16
|
+
protected traduzirComandoCriar(comandoCriar: Criar): string;
|
|
17
|
+
protected traduzirComandoExcluir(comandoExcluir: Excluir): string;
|
|
18
|
+
protected traduzirComandoInserir(comandoInserir: Inserir): string;
|
|
19
|
+
protected traduzirComandoSelecionar(comandoSelecionar: Selecionar): string;
|
|
20
|
+
private logicaManipulacaoColunas;
|
|
21
|
+
private traduzirTipoEntidade;
|
|
22
|
+
protected traduzirComandoAlterar(comandoAlterar: Alterar): string;
|
|
23
|
+
dicionarioComandos: {
|
|
24
|
+
Alterar: any;
|
|
25
|
+
Atualizar: any;
|
|
26
|
+
Criar: any;
|
|
27
|
+
Excluir: any;
|
|
28
|
+
Inserir: any;
|
|
29
|
+
Selecionar: any;
|
|
30
|
+
};
|
|
31
|
+
traduzir(comandos: Comando[]): string;
|
|
32
|
+
}
|