@designliquido/delegua 0.21.1 → 0.21.3
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/bin/package.json +1 -1
- package/fontes/avaliador-sintatico/avaliador-sintatico-base.js +1 -1
- package/fontes/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -1
- package/fontes/avaliador-sintatico/dialetos/index.d.ts +1 -1
- package/fontes/avaliador-sintatico/dialetos/index.js +1 -1
- package/fontes/avaliador-sintatico/dialetos/index.js.map +1 -1
- package/fontes/avaliador-sintatico/dialetos/potigol/avaliador-sintatico-potigol.d.ts +123 -0
- package/fontes/avaliador-sintatico/dialetos/potigol/avaliador-sintatico-potigol.js +613 -0
- package/fontes/avaliador-sintatico/dialetos/potigol/avaliador-sintatico-potigol.js.map +1 -0
- package/fontes/avaliador-sintatico/dialetos/potigol/micro-avaliador-sintatico-potigol.d.ts +10 -0
- package/fontes/avaliador-sintatico/dialetos/potigol/micro-avaliador-sintatico-potigol.js +73 -0
- package/fontes/avaliador-sintatico/dialetos/potigol/micro-avaliador-sintatico-potigol.js.map +1 -0
- package/fontes/avaliador-sintatico/micro-avaliador-sintatico-base.d.ts +27 -0
- package/fontes/avaliador-sintatico/micro-avaliador-sintatico-base.js +117 -0
- package/fontes/avaliador-sintatico/micro-avaliador-sintatico-base.js.map +1 -0
- package/fontes/avaliador-sintatico/micro-avaliador-sintatico.d.ts +2 -5
- package/fontes/avaliador-sintatico/micro-avaliador-sintatico.js +6 -4
- package/fontes/avaliador-sintatico/micro-avaliador-sintatico.js.map +1 -1
- package/fontes/bibliotecas/dialetos/potigol/biblioteca-global.d.ts +3 -0
- package/fontes/bibliotecas/dialetos/potigol/biblioteca-global.js +44 -0
- package/fontes/bibliotecas/dialetos/potigol/biblioteca-global.js.map +1 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-numero.d.ts +12 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-numero.js +13 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-numero.js.map +1 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-texto.d.ts +28 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-texto.js +37 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-texto.js.map +1 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-vetor.d.ts +25 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-vetor.js +48 -0
- package/fontes/bibliotecas/dialetos/potigol/primitivas-vetor.js.map +1 -0
- package/fontes/bibliotecas/primitivas-texto.d.ts +1 -0
- package/fontes/bibliotecas/primitivas-texto.js +1 -0
- package/fontes/bibliotecas/primitivas-texto.js.map +1 -1
- package/fontes/construtos/constante-ou-variavel.d.ts +19 -0
- package/fontes/construtos/constante-ou-variavel.js +26 -0
- package/fontes/construtos/constante-ou-variavel.js.map +1 -0
- package/fontes/construtos/index.d.ts +1 -0
- package/fontes/construtos/index.js +1 -0
- package/fontes/construtos/index.js.map +1 -1
- package/fontes/construtos/tuplas/deceto.d.ts +18 -0
- package/fontes/construtos/tuplas/deceto.js +33 -0
- package/fontes/construtos/tuplas/deceto.js.map +1 -0
- package/fontes/construtos/tuplas/dupla.d.ts +6 -0
- package/fontes/construtos/tuplas/dupla.js +13 -0
- package/fontes/construtos/tuplas/dupla.js.map +1 -0
- package/fontes/construtos/tuplas/index.d.ts +13 -0
- package/fontes/construtos/tuplas/index.js +68 -0
- package/fontes/construtos/tuplas/index.js.map +1 -0
- package/fontes/construtos/tuplas/noneto.d.ts +15 -0
- package/fontes/construtos/tuplas/noneto.js +26 -0
- package/fontes/construtos/tuplas/noneto.js.map +1 -0
- package/fontes/construtos/tuplas/octeto.d.ts +14 -0
- package/fontes/construtos/tuplas/octeto.js +25 -0
- package/fontes/construtos/tuplas/octeto.js.map +1 -0
- package/fontes/construtos/tuplas/quarteto.d.ts +8 -0
- package/fontes/construtos/tuplas/quarteto.js +15 -0
- package/fontes/construtos/tuplas/quarteto.js.map +1 -0
- package/fontes/construtos/tuplas/quinteto.d.ts +9 -0
- package/fontes/construtos/tuplas/quinteto.js +16 -0
- package/fontes/construtos/tuplas/quinteto.js.map +1 -0
- package/fontes/construtos/tuplas/septeto.d.ts +13 -0
- package/fontes/construtos/tuplas/septeto.js +24 -0
- package/fontes/construtos/tuplas/septeto.js.map +1 -0
- package/fontes/construtos/tuplas/sexteto.d.ts +10 -0
- package/fontes/construtos/tuplas/sexteto.js +17 -0
- package/fontes/construtos/tuplas/sexteto.js.map +1 -0
- package/fontes/construtos/tuplas/trio.d.ts +7 -0
- package/fontes/construtos/tuplas/trio.js +14 -0
- package/fontes/construtos/tuplas/trio.js.map +1 -0
- package/fontes/construtos/tuplas/tupla.d.ts +8 -0
- package/fontes/construtos/tuplas/tupla.js +10 -0
- package/fontes/construtos/tuplas/tupla.js.map +1 -0
- package/fontes/declaracoes/classe.d.ts +5 -2
- package/fontes/declaracoes/classe.js +2 -1
- package/fontes/declaracoes/classe.js.map +1 -1
- package/fontes/declaracoes/index.d.ts +1 -0
- package/fontes/declaracoes/index.js +1 -0
- package/fontes/declaracoes/index.js.map +1 -1
- package/fontes/declaracoes/propriedade-classe.d.ts +8 -0
- package/fontes/declaracoes/propriedade-classe.js +16 -0
- package/fontes/declaracoes/propriedade-classe.js.map +1 -0
- package/fontes/estruturas/chamavel.d.ts +1 -1
- package/fontes/estruturas/chamavel.js +2 -2
- package/fontes/estruturas/chamavel.js.map +1 -1
- package/fontes/estruturas/delegua-classe.d.ts +5 -2
- package/fontes/estruturas/delegua-classe.js +16 -5
- package/fontes/estruturas/delegua-classe.js.map +1 -1
- package/fontes/estruturas/delegua-funcao.d.ts +1 -1
- package/fontes/estruturas/delegua-funcao.js +1 -1
- package/fontes/estruturas/delegua-funcao.js.map +1 -1
- package/fontes/estruturas/objeto-delegua-classe.js +1 -1
- package/fontes/estruturas/objeto-delegua-classe.js.map +1 -1
- package/fontes/interpretador/dialetos/index.d.ts +1 -0
- package/fontes/interpretador/dialetos/index.js +1 -0
- package/fontes/interpretador/dialetos/index.js.map +1 -1
- package/fontes/interpretador/dialetos/potigol/comum.d.ts +0 -0
- package/fontes/interpretador/dialetos/potigol/comum.js +1 -0
- package/fontes/interpretador/dialetos/potigol/comum.js.map +1 -0
- package/fontes/interpretador/dialetos/potigol/inferenciador.d.ts +1 -0
- package/fontes/interpretador/dialetos/potigol/inferenciador.js +32 -0
- package/fontes/interpretador/dialetos/potigol/inferenciador.js.map +1 -0
- package/fontes/interpretador/dialetos/potigol/interpretador-potigol.d.ts +10 -0
- package/fontes/interpretador/dialetos/potigol/interpretador-potigol.js +78 -0
- package/fontes/interpretador/dialetos/potigol/interpretador-potigol.js.map +1 -0
- package/fontes/interpretador/interpretador-base.js +17 -15
- package/fontes/interpretador/interpretador-base.js.map +1 -1
- package/fontes/lexador/dialetos/lexador-potigol.d.ts +5 -0
- package/fontes/lexador/dialetos/lexador-potigol.js +83 -42
- package/fontes/lexador/dialetos/lexador-potigol.js.map +1 -1
- package/fontes/lexador/dialetos/lexador-visualg.js +1 -1
- package/fontes/lexador/dialetos/palavras-reservadas/potigol.d.ts +32 -5
- package/fontes/lexador/dialetos/palavras-reservadas/potigol.js +33 -6
- package/fontes/lexador/dialetos/palavras-reservadas/potigol.js.map +1 -1
- package/fontes/tipos-de-simbolos/potigol.d.ts +33 -3
- package/fontes/tipos-de-simbolos/potigol.js +33 -3
- package/fontes/tipos-de-simbolos/potigol.js.map +1 -1
- package/fontes/tradutores/tradutor-python.d.ts +1 -1
- package/fontes/tradutores/tradutor-python.js +21 -9
- package/fontes/tradutores/tradutor-python.js.map +1 -1
- package/package.json +1 -1
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-potigol.d.ts +0 -20
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-potigol.js +0 -96
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-potigol.js.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VisitanteComumInterface, SimboloInterface, VariavelInterface } from '../interfaces';
|
|
2
|
+
import { Construto } from './construto';
|
|
3
|
+
/**
|
|
4
|
+
* Este construto existe para alguns dialetos, como Potigol, onde
|
|
5
|
+
* não é possível definir se um construto é constante, variável,
|
|
6
|
+
* identificador de função, tipo ou classe no momento da avaliação
|
|
7
|
+
* primária.
|
|
8
|
+
*
|
|
9
|
+
* Durante o restante da avaliação sintática, esse construto deve **obrigatoriamente**
|
|
10
|
+
* resolver para `Constante`, `Variavel` ou algum construto de chamada/declaração de
|
|
11
|
+
* função.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ConstanteOuVariavel implements Construto {
|
|
14
|
+
linha: number;
|
|
15
|
+
hashArquivo: number;
|
|
16
|
+
simbolo: SimboloInterface;
|
|
17
|
+
constructor(hashArquivo: number, simbolo: SimboloInterface);
|
|
18
|
+
aceitar(visitante: VisitanteComumInterface): Promise<VariavelInterface>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConstanteOuVariavel = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Este construto existe para alguns dialetos, como Potigol, onde
|
|
6
|
+
* não é possível definir se um construto é constante, variável,
|
|
7
|
+
* identificador de função, tipo ou classe no momento da avaliação
|
|
8
|
+
* primária.
|
|
9
|
+
*
|
|
10
|
+
* Durante o restante da avaliação sintática, esse construto deve **obrigatoriamente**
|
|
11
|
+
* resolver para `Constante`, `Variavel` ou algum construto de chamada/declaração de
|
|
12
|
+
* função.
|
|
13
|
+
*/
|
|
14
|
+
class ConstanteOuVariavel {
|
|
15
|
+
constructor(hashArquivo, simbolo) {
|
|
16
|
+
this.linha = Number(simbolo.linha);
|
|
17
|
+
this.hashArquivo = hashArquivo;
|
|
18
|
+
this.simbolo = simbolo;
|
|
19
|
+
}
|
|
20
|
+
async aceitar(visitante) {
|
|
21
|
+
return Promise.reject(new Error('Este método não deveria ser chamado. ' +
|
|
22
|
+
'O construto deve resolver como constante ou variável ainda na avaliação sintática.'));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.ConstanteOuVariavel = ConstanteOuVariavel;
|
|
26
|
+
//# sourceMappingURL=constante-ou-variavel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constante-ou-variavel.js","sourceRoot":"","sources":["../../../fontes/construtos/constante-ou-variavel.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;;GASG;AACH,MAAa,mBAAmB;IAM5B,YAAY,WAAmB,EAAE,OAAyB;QACtD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,SAAkC;QAC5C,OAAO,OAAO,CAAC,MAAM,CACjB,IAAI,KAAK,CACL,uCAAuC;YACvC,oFAAoF,CACvF,CACJ,CAAC;IACN,CAAC;CACJ;AArBD,kDAqBC"}
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./atribuir"), exports);
|
|
|
19
19
|
__exportStar(require("./binario"), exports);
|
|
20
20
|
__exportStar(require("./chamada"), exports);
|
|
21
21
|
__exportStar(require("./constante"), exports);
|
|
22
|
+
__exportStar(require("./constante-ou-variavel"), exports);
|
|
22
23
|
__exportStar(require("./definir-valor"), exports);
|
|
23
24
|
__exportStar(require("./dicionario"), exports);
|
|
24
25
|
__exportStar(require("./construto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../fontes/construtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,kDAAgC;AAChC,gDAA8B;AAC9B,yCAAuB;AACvB,4CAA0B;AAC1B,2CAAyB;AACzB,2DAAyC;AACzC,0CAAwB;AACxB,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../fontes/construtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,0DAAwC;AACxC,kDAAgC;AAChC,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,kDAAgC;AAChC,gDAA8B;AAC9B,yCAAuB;AACvB,4CAA0B;AAC1B,2CAAyB;AACzB,2DAAyC;AACzC,0CAAwB;AACxB,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Tupla } from "./tupla";
|
|
2
|
+
export declare class Deceto extends Tupla {
|
|
3
|
+
primeiro: any;
|
|
4
|
+
segundo: any;
|
|
5
|
+
terceiro: any;
|
|
6
|
+
quarto: any;
|
|
7
|
+
quinto: any;
|
|
8
|
+
sexto: any;
|
|
9
|
+
setimo: any;
|
|
10
|
+
oitavo: any;
|
|
11
|
+
nono: any;
|
|
12
|
+
decimo: any;
|
|
13
|
+
constructor(primeiro: any, segundo: any, terceiro: any, quarto: any, quinto: any, sexto: any, setimo: any, oitavo: any, nono: any, decimo: any);
|
|
14
|
+
get sétimo(): any;
|
|
15
|
+
set sétimo(valor: any);
|
|
16
|
+
get décimo(): any;
|
|
17
|
+
set décimo(valor: any);
|
|
18
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Deceto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Deceto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto, quinto, sexto, setimo, oitavo, nono, decimo) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
this.quinto = quinto;
|
|
13
|
+
this.sexto = sexto;
|
|
14
|
+
this.setimo = setimo;
|
|
15
|
+
this.oitavo = oitavo;
|
|
16
|
+
this.nono = nono;
|
|
17
|
+
this.decimo = decimo;
|
|
18
|
+
}
|
|
19
|
+
get sétimo() {
|
|
20
|
+
return this.setimo;
|
|
21
|
+
}
|
|
22
|
+
set sétimo(valor) {
|
|
23
|
+
this.setimo = valor;
|
|
24
|
+
}
|
|
25
|
+
get décimo() {
|
|
26
|
+
return this.decimo;
|
|
27
|
+
}
|
|
28
|
+
set décimo(valor) {
|
|
29
|
+
this.decimo = valor;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.Deceto = Deceto;
|
|
33
|
+
//# sourceMappingURL=deceto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deceto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/deceto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,MAAO,SAAQ,aAAK;IAY7B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW,EAAE,MAAW,EAAE,KAAU,EACxF,MAAW,EAAE,MAAW,EAAE,IAAS,EAAE,MAAW;QAEhD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,MAAM,CAAC,KAAU;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,MAAM,CAAC,KAAU;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;CACJ;AA3CD,wBA2CC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dupla = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Dupla extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.Dupla = Dupla;
|
|
13
|
+
//# sourceMappingURL=dupla.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dupla.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/dupla.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,KAAM,SAAQ,aAAK;IAI5B,YAAY,QAAa,EAAE,OAAY;QACnC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;CACJ;AATD,sBASC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './deceto';
|
|
2
|
+
export * from './dupla';
|
|
3
|
+
export * from './noneto';
|
|
4
|
+
export * from './octeto';
|
|
5
|
+
export * from './quarteto';
|
|
6
|
+
export * from './quinteto';
|
|
7
|
+
export * from './septeto';
|
|
8
|
+
export * from './sexteto';
|
|
9
|
+
export * from './trio';
|
|
10
|
+
export * from './tupla';
|
|
11
|
+
export declare class SeletorTuplas {
|
|
12
|
+
constructor(...argumentos: any[]);
|
|
13
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.SeletorTuplas = void 0;
|
|
18
|
+
const deceto_1 = require("./deceto");
|
|
19
|
+
const dupla_1 = require("./dupla");
|
|
20
|
+
const noneto_1 = require("./noneto");
|
|
21
|
+
const octeto_1 = require("./octeto");
|
|
22
|
+
const quarteto_1 = require("./quarteto");
|
|
23
|
+
const quinteto_1 = require("./quinteto");
|
|
24
|
+
const septeto_1 = require("./septeto");
|
|
25
|
+
const sexteto_1 = require("./sexteto");
|
|
26
|
+
const trio_1 = require("./trio");
|
|
27
|
+
__exportStar(require("./deceto"), exports);
|
|
28
|
+
__exportStar(require("./dupla"), exports);
|
|
29
|
+
__exportStar(require("./noneto"), exports);
|
|
30
|
+
__exportStar(require("./octeto"), exports);
|
|
31
|
+
__exportStar(require("./quarteto"), exports);
|
|
32
|
+
__exportStar(require("./quinteto"), exports);
|
|
33
|
+
__exportStar(require("./septeto"), exports);
|
|
34
|
+
__exportStar(require("./sexteto"), exports);
|
|
35
|
+
__exportStar(require("./trio"), exports);
|
|
36
|
+
__exportStar(require("./tupla"), exports);
|
|
37
|
+
class SeletorTuplas {
|
|
38
|
+
constructor(...argumentos) {
|
|
39
|
+
if (argumentos.length > 10) {
|
|
40
|
+
throw new Error("Tuplas com mais de 10 elementos não são suportadas.");
|
|
41
|
+
}
|
|
42
|
+
if (argumentos.length < 2) {
|
|
43
|
+
throw new Error("Tuplas devem ter no mínimo 2 elementos.");
|
|
44
|
+
}
|
|
45
|
+
switch (argumentos.length) {
|
|
46
|
+
case 2:
|
|
47
|
+
return new dupla_1.Dupla(argumentos[0], argumentos[1]);
|
|
48
|
+
case 3:
|
|
49
|
+
return new trio_1.Trio(argumentos[0], argumentos[1], argumentos[2]);
|
|
50
|
+
case 4:
|
|
51
|
+
return new quarteto_1.Quarteto(argumentos[0], argumentos[1], argumentos[2], argumentos[3]);
|
|
52
|
+
case 5:
|
|
53
|
+
return new quinteto_1.Quinteto(argumentos[0], argumentos[1], argumentos[2], argumentos[3], argumentos[4]);
|
|
54
|
+
case 6:
|
|
55
|
+
return new sexteto_1.Sexteto(argumentos[0], argumentos[1], argumentos[2], argumentos[3], argumentos[4], argumentos[5]);
|
|
56
|
+
case 7:
|
|
57
|
+
return new septeto_1.Septeto(argumentos[0], argumentos[1], argumentos[2], argumentos[3], argumentos[4], argumentos[5], argumentos[6]);
|
|
58
|
+
case 8:
|
|
59
|
+
return new octeto_1.Octeto(argumentos[0], argumentos[1], argumentos[2], argumentos[3], argumentos[4], argumentos[5], argumentos[6], argumentos[7]);
|
|
60
|
+
case 9:
|
|
61
|
+
return new noneto_1.Noneto(argumentos[0], argumentos[1], argumentos[2], argumentos[3], argumentos[4], argumentos[5], argumentos[6], argumentos[7], argumentos[8]);
|
|
62
|
+
case 10:
|
|
63
|
+
return new deceto_1.Deceto(argumentos[0], argumentos[1], argumentos[2], argumentos[3], argumentos[4], argumentos[5], argumentos[6], argumentos[7], argumentos[8], argumentos[9]);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.SeletorTuplas = SeletorTuplas;
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Tupla } from "./tupla";
|
|
2
|
+
export declare class Noneto extends Tupla {
|
|
3
|
+
primeiro: any;
|
|
4
|
+
segundo: any;
|
|
5
|
+
terceiro: any;
|
|
6
|
+
quarto: any;
|
|
7
|
+
quinto: any;
|
|
8
|
+
sexto: any;
|
|
9
|
+
setimo: any;
|
|
10
|
+
oitavo: any;
|
|
11
|
+
nono: any;
|
|
12
|
+
constructor(primeiro: any, segundo: any, terceiro: any, quarto: any, quinto: any, sexto: any, setimo: any, oitavo: any, nono: any);
|
|
13
|
+
get sétimo(): any;
|
|
14
|
+
set sétimo(valor: any);
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Noneto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Noneto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto, quinto, sexto, setimo, oitavo, nono) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
this.quinto = quinto;
|
|
13
|
+
this.sexto = sexto;
|
|
14
|
+
this.setimo = setimo;
|
|
15
|
+
this.oitavo = oitavo;
|
|
16
|
+
this.nono = nono;
|
|
17
|
+
}
|
|
18
|
+
get sétimo() {
|
|
19
|
+
return this.setimo;
|
|
20
|
+
}
|
|
21
|
+
set sétimo(valor) {
|
|
22
|
+
this.setimo = valor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.Noneto = Noneto;
|
|
26
|
+
//# sourceMappingURL=noneto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noneto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/noneto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,MAAO,SAAQ,aAAK;IAW7B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW,EAAE,MAAW,EAAE,KAAU,EACxF,MAAW,EAAE,MAAW,EAAE,IAAS;QAEnC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,MAAM,CAAC,KAAU;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;CACJ;AAjCD,wBAiCC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Tupla } from "./tupla";
|
|
2
|
+
export declare class Octeto extends Tupla {
|
|
3
|
+
primeiro: any;
|
|
4
|
+
segundo: any;
|
|
5
|
+
terceiro: any;
|
|
6
|
+
quarto: any;
|
|
7
|
+
quinto: any;
|
|
8
|
+
sexto: any;
|
|
9
|
+
setimo: any;
|
|
10
|
+
oitavo: any;
|
|
11
|
+
constructor(primeiro: any, segundo: any, terceiro: any, quarto: any, quinto: any, sexto: any, setimo: any, oitavo: any);
|
|
12
|
+
get sétimo(): any;
|
|
13
|
+
set sétimo(valor: any);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Octeto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Octeto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto, quinto, sexto, setimo, oitavo) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
this.quinto = quinto;
|
|
13
|
+
this.sexto = sexto;
|
|
14
|
+
this.setimo = setimo;
|
|
15
|
+
this.oitavo = oitavo;
|
|
16
|
+
}
|
|
17
|
+
get sétimo() {
|
|
18
|
+
return this.setimo;
|
|
19
|
+
}
|
|
20
|
+
set sétimo(valor) {
|
|
21
|
+
this.setimo = valor;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.Octeto = Octeto;
|
|
25
|
+
//# sourceMappingURL=octeto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"octeto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/octeto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,MAAO,SAAQ,aAAK;IAU7B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW,EAAE,MAAW,EAAE,KAAU,EACxF,MAAW,EAAE,MAAW;QAExB,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,MAAM,CAAC,KAAU;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;CACJ;AA/BD,wBA+BC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Quarteto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Quarteto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Quarteto = Quarteto;
|
|
15
|
+
//# sourceMappingURL=quarteto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quarteto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/quarteto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,QAAS,SAAQ,aAAK;IAM/B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW;QAC/D,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;CACJ;AAbD,4BAaC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Quinteto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Quinteto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto, quinto) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
this.quinto = quinto;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Quinteto = Quinteto;
|
|
16
|
+
//# sourceMappingURL=quinteto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quinteto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/quinteto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,QAAS,SAAQ,aAAK;IAO/B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW,EAAE,MAAW;QAC5E,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;CACJ;AAfD,4BAeC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Tupla } from "./tupla";
|
|
2
|
+
export declare class Septeto extends Tupla {
|
|
3
|
+
primeiro: any;
|
|
4
|
+
segundo: any;
|
|
5
|
+
terceiro: any;
|
|
6
|
+
quarto: any;
|
|
7
|
+
quinto: any;
|
|
8
|
+
sexto: any;
|
|
9
|
+
setimo: any;
|
|
10
|
+
constructor(primeiro: any, segundo: any, terceiro: any, quarto: any, quinto: any, sexto: any, setimo: any);
|
|
11
|
+
get sétimo(): any;
|
|
12
|
+
set sétimo(valor: any);
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Septeto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Septeto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto, quinto, sexto, setimo) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
this.quinto = quinto;
|
|
13
|
+
this.sexto = sexto;
|
|
14
|
+
this.setimo = setimo;
|
|
15
|
+
}
|
|
16
|
+
get sétimo() {
|
|
17
|
+
return this.setimo;
|
|
18
|
+
}
|
|
19
|
+
set sétimo(valor) {
|
|
20
|
+
this.setimo = valor;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.Septeto = Septeto;
|
|
24
|
+
//# sourceMappingURL=septeto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"septeto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/septeto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,OAAQ,SAAQ,aAAK;IAS9B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW,EAAE,MAAW,EAAE,KAAU,EAAE,MAAW;QACrG,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,MAAM,CAAC,KAAU;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;CACJ;AA3BD,0BA2BC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Tupla } from "./tupla";
|
|
2
|
+
export declare class Sexteto extends Tupla {
|
|
3
|
+
primeiro: any;
|
|
4
|
+
segundo: any;
|
|
5
|
+
terceiro: any;
|
|
6
|
+
quarto: any;
|
|
7
|
+
quinto: any;
|
|
8
|
+
sexto: any;
|
|
9
|
+
constructor(primeiro: any, segundo: any, terceiro: any, quarto: any, quinto: any, sexto: any);
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Sexteto = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Sexteto extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro, quarto, quinto, sexto) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
this.quarto = quarto;
|
|
12
|
+
this.quinto = quinto;
|
|
13
|
+
this.sexto = sexto;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.Sexteto = Sexteto;
|
|
17
|
+
//# sourceMappingURL=sexteto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sexteto.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/sexteto.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,OAAQ,SAAQ,aAAK;IAQ9B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa,EAAE,MAAW,EAAE,MAAW,EAAE,KAAU;QACxF,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;CACJ;AAjBD,0BAiBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Trio = void 0;
|
|
4
|
+
const tupla_1 = require("./tupla");
|
|
5
|
+
class Trio extends tupla_1.Tupla {
|
|
6
|
+
constructor(primeiro, segundo, terceiro) {
|
|
7
|
+
super();
|
|
8
|
+
this.primeiro = primeiro;
|
|
9
|
+
this.segundo = segundo;
|
|
10
|
+
this.terceiro = terceiro;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.Trio = Trio;
|
|
14
|
+
//# sourceMappingURL=trio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trio.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/trio.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAEhC,MAAa,IAAK,SAAQ,aAAK;IAK3B,YAAY,QAAa,EAAE,OAAY,EAAE,QAAa;QAClD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;CACJ;AAXD,oBAWC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VisitanteComumInterface } from "../../interfaces";
|
|
2
|
+
import { Construto } from "../construto";
|
|
3
|
+
export declare abstract class Tupla implements Construto {
|
|
4
|
+
linha: number;
|
|
5
|
+
hashArquivo: number;
|
|
6
|
+
valor?: any;
|
|
7
|
+
aceitar(visitante: VisitanteComumInterface): Promise<any>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Tupla = void 0;
|
|
4
|
+
class Tupla {
|
|
5
|
+
async aceitar(visitante) {
|
|
6
|
+
throw new Error("Method not implemented.");
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.Tupla = Tupla;
|
|
10
|
+
//# sourceMappingURL=tupla.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tupla.js","sourceRoot":"","sources":["../../../../fontes/construtos/tuplas/tupla.ts"],"names":[],"mappings":";;;AAGA,MAAsB,KAAK;IAKvB,KAAK,CAAC,OAAO,CAAC,SAAkC;QAC5C,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;CAEJ;AATD,sBASC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { VisitanteComumInterface, SimboloInterface } from '../interfaces';
|
|
2
2
|
import { Declaracao } from './declaracao';
|
|
3
|
+
import { FuncaoDeclaracao } from './funcao';
|
|
4
|
+
import { PropriedadeClasse } from './propriedade-classe';
|
|
3
5
|
export declare class Classe extends Declaracao {
|
|
4
6
|
simbolo: SimboloInterface;
|
|
5
7
|
superClasse: any;
|
|
6
|
-
metodos:
|
|
7
|
-
|
|
8
|
+
metodos: FuncaoDeclaracao[];
|
|
9
|
+
propriedades: PropriedadeClasse[];
|
|
10
|
+
constructor(simbolo: SimboloInterface, superClasse: any, metodos: FuncaoDeclaracao[], propriedades?: PropriedadeClasse[]);
|
|
8
11
|
aceitar(visitante: VisitanteComumInterface): Promise<any>;
|
|
9
12
|
}
|
|
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Classe = void 0;
|
|
4
4
|
const declaracao_1 = require("./declaracao");
|
|
5
5
|
class Classe extends declaracao_1.Declaracao {
|
|
6
|
-
constructor(simbolo, superClasse, metodos) {
|
|
6
|
+
constructor(simbolo, superClasse, metodos, propriedades = []) {
|
|
7
7
|
super(Number(simbolo.linha), simbolo.hashArquivo);
|
|
8
8
|
this.simbolo = simbolo;
|
|
9
9
|
this.superClasse = superClasse;
|
|
10
10
|
this.metodos = metodos;
|
|
11
|
+
this.propriedades = propriedades;
|
|
11
12
|
}
|
|
12
13
|
async aceitar(visitante) {
|
|
13
14
|
return await visitante.visitarDeclaracaoClasse(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/classe.ts"],"names":[],"mappings":";;;AACA,6CAA0C;
|
|
1
|
+
{"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/classe.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAI1C,MAAa,MAAO,SAAQ,uBAAU;IAMlC,YACI,OAAyB,EACzB,WAAgB,EAChB,OAA2B,EAC3B,eAAoC,EAAE;QAEtC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;QAClD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,SAAkC;QAC5C,OAAO,MAAM,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;CACJ;AAtBD,wBAsBC"}
|
|
@@ -31,6 +31,7 @@ __exportStar(require("./importar"), exports);
|
|
|
31
31
|
__exportStar(require("./leia"), exports);
|
|
32
32
|
__exportStar(require("./para"), exports);
|
|
33
33
|
__exportStar(require("./para-cada"), exports);
|
|
34
|
+
__exportStar(require("./propriedade-classe"), exports);
|
|
34
35
|
__exportStar(require("./sustar"), exports);
|
|
35
36
|
__exportStar(require("./retorna"), exports);
|
|
36
37
|
__exportStar(require("./se"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../fontes/declaracoes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,2CAAyB;AACzB,4CAA0B;AAC1B,uCAAqB;AACrB,0CAAwB;AACxB,wCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../fontes/declaracoes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,uDAAqC;AACrC,2CAAyB;AACzB,4CAA0B;AAC1B,uCAAqB;AACrB,0CAAwB;AACxB,wCAAsB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SimboloInterface, VisitanteComumInterface } from "../interfaces";
|
|
2
|
+
import { Declaracao } from "./declaracao";
|
|
3
|
+
export declare class PropriedadeClasse extends Declaracao {
|
|
4
|
+
nome: SimboloInterface;
|
|
5
|
+
tipo?: string;
|
|
6
|
+
constructor(nome: SimboloInterface, tipo?: string);
|
|
7
|
+
aceitar(visitante: VisitanteComumInterface): Promise<any>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PropriedadeClasse = void 0;
|
|
4
|
+
const declaracao_1 = require("./declaracao");
|
|
5
|
+
class PropriedadeClasse extends declaracao_1.Declaracao {
|
|
6
|
+
constructor(nome, tipo) {
|
|
7
|
+
super(Number(nome.linha), nome.hashArquivo);
|
|
8
|
+
this.nome = nome;
|
|
9
|
+
this.tipo = tipo;
|
|
10
|
+
}
|
|
11
|
+
async aceitar(visitante) {
|
|
12
|
+
return Promise.reject(new Error('Não utilizado por enquanto.'));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.PropriedadeClasse = PropriedadeClasse;
|
|
16
|
+
//# sourceMappingURL=propriedade-classe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propriedade-classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/propriedade-classe.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAE1C,MAAa,iBAAkB,SAAQ,uBAAU;IAI7C,YAAY,IAAsB,EAAE,IAAa;QAC7C,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,SAAkC;QAC5C,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC,CAAC;IACpE,CAAC;CACJ;AAbD,8CAaC"}
|