@designliquido/foles 0.6.2 → 0.7.0

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.
Files changed (112) hide show
  1. package/fontes/avaliador-sintatico/avaliador-sintatico.js +535 -25
  2. package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
  3. package/fontes/lexador/palavras-reservadas/foles.d.ts +276 -238
  4. package/fontes/lexador/palavras-reservadas/foles.js +279 -238
  5. package/fontes/lexador/palavras-reservadas/foles.js.map +1 -1
  6. package/fontes/modificadores/atributos/posicoes.d.ts +3 -0
  7. package/fontes/modificadores/atributos/posicoes.js +23 -13
  8. package/fontes/modificadores/atributos/posicoes.js.map +1 -1
  9. package/fontes/modificadores/deslocamento.js +5 -3
  10. package/fontes/modificadores/deslocamento.js.map +1 -1
  11. package/fontes/modificadores/filtro-fundo.js +1 -2
  12. package/fontes/modificadores/filtro-fundo.js.map +1 -1
  13. package/fontes/modificadores/filtro.js +1 -6
  14. package/fontes/modificadores/filtro.js.map +1 -1
  15. package/fontes/modificadores/trajeto-deslocamento.js +2 -2
  16. package/fontes/modificadores/trajeto-deslocamento.js.map +1 -1
  17. package/fontes/modificadores/transformar.js +2 -1
  18. package/fontes/modificadores/transformar.js.map +1 -1
  19. package/fontes/modificadores/validacoes/quantificador.js +2 -1
  20. package/fontes/modificadores/validacoes/quantificador.js.map +1 -1
  21. package/fontes/valores/dicionario-valores.js +63 -1
  22. package/fontes/valores/dicionario-valores.js.map +1 -1
  23. package/fontes/valores/metodos/borrar.d.ts +9 -0
  24. package/fontes/valores/metodos/borrar.js +20 -0
  25. package/fontes/valores/metodos/borrar.js.map +1 -0
  26. package/fontes/valores/metodos/brilho.d.ts +9 -0
  27. package/fontes/valores/metodos/brilho.js +20 -0
  28. package/fontes/valores/metodos/brilho.js.map +1 -0
  29. package/fontes/valores/metodos/escala-cinza.d.ts +9 -0
  30. package/fontes/valores/metodos/escala-cinza.js +20 -0
  31. package/fontes/valores/metodos/escala-cinza.js.map +1 -0
  32. package/fontes/valores/metodos/escalamento-3d.d.ts +10 -0
  33. package/fontes/valores/metodos/escalamento-3d.js +18 -0
  34. package/fontes/valores/metodos/escalamento-3d.js.map +1 -0
  35. package/fontes/valores/metodos/escalamento-eixo-z.d.ts +8 -0
  36. package/fontes/valores/metodos/escalamento-eixo-z.js +16 -0
  37. package/fontes/valores/metodos/escalamento-eixo-z.js.map +1 -0
  38. package/fontes/valores/metodos/escalamento-horizontal.d.ts +8 -0
  39. package/fontes/valores/metodos/escalamento-horizontal.js +16 -0
  40. package/fontes/valores/metodos/escalamento-horizontal.js.map +1 -0
  41. package/fontes/valores/metodos/escalamento-vertical.d.ts +8 -0
  42. package/fontes/valores/metodos/escalamento-vertical.js +16 -0
  43. package/fontes/valores/metodos/escalamento-vertical.js.map +1 -0
  44. package/fontes/valores/metodos/escalamento.d.ts +9 -0
  45. package/fontes/valores/metodos/escalamento.js +20 -0
  46. package/fontes/valores/metodos/escalamento.js.map +1 -0
  47. package/fontes/valores/metodos/inclinar-horizontal.d.ts +9 -0
  48. package/fontes/valores/metodos/inclinar-horizontal.js +20 -0
  49. package/fontes/valores/metodos/inclinar-horizontal.js.map +1 -0
  50. package/fontes/valores/metodos/inclinar-vertical.d.ts +9 -0
  51. package/fontes/valores/metodos/inclinar-vertical.js +20 -0
  52. package/fontes/valores/metodos/inclinar-vertical.js.map +1 -0
  53. package/fontes/valores/metodos/inclinar.d.ts +11 -0
  54. package/fontes/valores/metodos/inclinar.js +25 -0
  55. package/fontes/valores/metodos/inclinar.js.map +1 -0
  56. package/fontes/valores/metodos/inverter.d.ts +9 -0
  57. package/fontes/valores/metodos/inverter.js +20 -0
  58. package/fontes/valores/metodos/inverter.js.map +1 -0
  59. package/fontes/valores/metodos/opacar.d.ts +9 -0
  60. package/fontes/valores/metodos/opacar.js +20 -0
  61. package/fontes/valores/metodos/opacar.js.map +1 -0
  62. package/fontes/valores/metodos/perspectivar.d.ts +9 -0
  63. package/fontes/valores/metodos/perspectivar.js +20 -0
  64. package/fontes/valores/metodos/perspectivar.js.map +1 -0
  65. package/fontes/valores/metodos/projetar-sombra.d.ts +14 -0
  66. package/fontes/valores/metodos/projetar-sombra.js +43 -0
  67. package/fontes/valores/metodos/projetar-sombra.js.map +1 -0
  68. package/fontes/valores/metodos/raio.d.ts +10 -0
  69. package/fontes/valores/metodos/raio.js +23 -0
  70. package/fontes/valores/metodos/raio.js.map +1 -0
  71. package/fontes/valores/metodos/rotacionar-eixo-z.d.ts +9 -0
  72. package/fontes/valores/metodos/rotacionar-eixo-z.js +20 -0
  73. package/fontes/valores/metodos/rotacionar-eixo-z.js.map +1 -0
  74. package/fontes/valores/metodos/rotacionar-horizontal.d.ts +9 -0
  75. package/fontes/valores/metodos/rotacionar-horizontal.js +20 -0
  76. package/fontes/valores/metodos/rotacionar-horizontal.js.map +1 -0
  77. package/fontes/valores/metodos/rotacionar-matiz.d.ts +9 -0
  78. package/fontes/valores/metodos/rotacionar-matiz.js +20 -0
  79. package/fontes/valores/metodos/rotacionar-matiz.js.map +1 -0
  80. package/fontes/valores/metodos/rotacionar-vertical.d.ts +9 -0
  81. package/fontes/valores/metodos/rotacionar-vertical.js +20 -0
  82. package/fontes/valores/metodos/rotacionar-vertical.js.map +1 -0
  83. package/fontes/valores/metodos/rotacionar.d.ts +9 -0
  84. package/fontes/valores/metodos/rotacionar.js +20 -0
  85. package/fontes/valores/metodos/rotacionar.js.map +1 -0
  86. package/fontes/valores/metodos/saturar.d.ts +9 -0
  87. package/fontes/valores/metodos/saturar.js +20 -0
  88. package/fontes/valores/metodos/saturar.js.map +1 -0
  89. package/fontes/valores/metodos/sepia.d.ts +9 -0
  90. package/fontes/valores/metodos/sepia.js +20 -0
  91. package/fontes/valores/metodos/sepia.js.map +1 -0
  92. package/fontes/valores/metodos/translacao-3d.d.ts +13 -0
  93. package/fontes/valores/metodos/translacao-3d.js +42 -0
  94. package/fontes/valores/metodos/translacao-3d.js.map +1 -0
  95. package/fontes/valores/metodos/translacao-eixo-z.d.ts +9 -0
  96. package/fontes/valores/metodos/translacao-eixo-z.js +20 -0
  97. package/fontes/valores/metodos/translacao-eixo-z.js.map +1 -0
  98. package/fontes/valores/metodos/translacao-horizontal.d.ts +9 -0
  99. package/fontes/valores/metodos/translacao-horizontal.js +20 -0
  100. package/fontes/valores/metodos/translacao-horizontal.js.map +1 -0
  101. package/fontes/valores/metodos/translacao-vertical.d.ts +9 -0
  102. package/fontes/valores/metodos/translacao-vertical.js +20 -0
  103. package/fontes/valores/metodos/translacao-vertical.js.map +1 -0
  104. package/fontes/valores/metodos/translacao.d.ts +11 -0
  105. package/fontes/valores/metodos/translacao.js +25 -0
  106. package/fontes/valores/metodos/translacao.js.map +1 -0
  107. package/package.json +3 -2
  108. package/testes/listas/metodos.d.ts +15 -0
  109. package/testes/listas/metodos.js +65 -15
  110. package/testes/listas/metodos.js.map +1 -1
  111. package/testes/modificadores/metodos.test.js +1581 -115
  112. package/testes/modificadores/metodos.test.js.map +1 -1
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EscalamentoVertical = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class EscalamentoVertical extends metodo_1.Metodo {
6
+ constructor(valor1, valor2) {
7
+ super();
8
+ this.valor1 = Number(valor1.lexema);
9
+ this.traducao = 'scaleY';
10
+ }
11
+ paraTexto() {
12
+ return `scaleY(${this.valor1})`;
13
+ }
14
+ }
15
+ exports.EscalamentoVertical = EscalamentoVertical;
16
+ //# sourceMappingURL=escalamento-vertical.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escalamento-vertical.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/escalamento-vertical.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,mBAAoB,SAAQ,eAAM;IAI3C,YAAY,MAAe,EAAE,MAAe;QACxC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,OAAO,UAAU,IAAI,CAAC,MAAM,GAAG,CAAA;IACnC,CAAC;CACJ;AAbD,kDAaC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Escalamento extends Metodo {
4
+ valor1: number;
5
+ valor2: number;
6
+ traducao: string;
7
+ constructor(valor1: Simbolo, valor2: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Escalamento = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Escalamento extends metodo_1.Metodo {
6
+ constructor(valor1, valor2) {
7
+ super();
8
+ this.valor1 = Number(valor1.lexema);
9
+ this.valor2 = valor2 ? Number(valor2.lexema) : null;
10
+ this.traducao = 'scale';
11
+ }
12
+ paraTexto() {
13
+ if (this.valor2) {
14
+ return `scale(${this.valor1}, ${this.valor2})`;
15
+ }
16
+ return `scale(${this.valor1})`;
17
+ }
18
+ }
19
+ exports.Escalamento = Escalamento;
20
+ //# sourceMappingURL=escalamento.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escalamento.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/escalamento.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,WAAY,SAAQ,eAAM;IAKnC,YAAY,MAAe,EAAE,MAAe;QACxC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACpD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,MAAM,EAAE;YACb,OAAO,SAAS,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG,CAAA;SACjD;QAED,OAAO,SAAS,IAAI,CAAC,MAAM,GAAG,CAAA;IAClC,CAAC;CACJ;AAnBD,kCAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class InclinarHorizontal extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InclinarHorizontal = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class InclinarHorizontal extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'skewX';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `skewX(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `skewX(${this.valor})`;
17
+ }
18
+ }
19
+ exports.InclinarHorizontal = InclinarHorizontal;
20
+ //# sourceMappingURL=inclinar-horizontal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inclinar-horizontal.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/inclinar-horizontal.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,kBAAmB,SAAQ,eAAM;IAK1C,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACrD;QAED,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,CAAA;IACjC,CAAC;CACJ;AAnBD,gDAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class InclinarVertical extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InclinarVertical = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class InclinarVertical extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'skewY';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `skewY(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `skewY(${this.valor})`;
17
+ }
18
+ }
19
+ exports.InclinarVertical = InclinarVertical;
20
+ //# sourceMappingURL=inclinar-vertical.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inclinar-vertical.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/inclinar-vertical.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,gBAAiB,SAAQ,eAAM;IAKxC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACrD;QAED,OAAO,SAAS,IAAI,CAAC,KAAK,GAAG,CAAA;IACjC,CAAC;CACJ;AAnBD,4CAmBC"}
@@ -0,0 +1,11 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Inclinar extends Metodo {
4
+ valor1: number;
5
+ quantificador1: string;
6
+ valor2: number | string;
7
+ quantificador2: string;
8
+ traducao: string;
9
+ constructor(valor1: Simbolo, quantificador1: Simbolo, valor2: Simbolo, quantificador2: Simbolo);
10
+ paraTexto(): string;
11
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Inclinar = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Inclinar extends metodo_1.Metodo {
6
+ constructor(valor1, quantificador1, valor2, quantificador2) {
7
+ super();
8
+ this.valor1 = Number(valor1.lexema);
9
+ this.quantificador1 = quantificador1 ? quantificador1.lexema : null;
10
+ this.valor2 = valor2 ? Number(valor2.lexema) : null;
11
+ this.quantificador2 = quantificador2 ? quantificador2.lexema : null;
12
+ this.traducao = 'skew';
13
+ }
14
+ paraTexto() {
15
+ if (!this.quantificador1 && !this.valor2 && !this.quantificador2) {
16
+ return `skew(${this.valor1})`;
17
+ }
18
+ if (!this.valor2 && !this.quantificador2) {
19
+ return `skew(${this.valor1}${this.quantificador1})`;
20
+ }
21
+ return `skew(${this.valor1}${this.quantificador1}, ${this.valor2}${this.quantificador2})`;
22
+ }
23
+ }
24
+ exports.Inclinar = Inclinar;
25
+ //# sourceMappingURL=inclinar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inclinar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/inclinar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,QAAS,SAAQ,eAAM;IAOhC,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB;QAC1F,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACpD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;IAED,SAAS;QACL,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;YAC9D,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,CAAA;SAChC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;YACtC,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;SACtD;QAED,OAAO,QAAQ,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,KAAK,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;IAC7F,CAAC;CACJ;AA3BD,4BA2BC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Inverter extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Inverter = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Inverter extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'invert';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `invert(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `invert(${this.valor})`;
17
+ }
18
+ }
19
+ exports.Inverter = Inverter;
20
+ //# sourceMappingURL=inverter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inverter.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/inverter.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,QAAS,SAAQ,eAAM;IAKhC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACtD;QAED,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,CAAA;IAClC,CAAC;CACJ;AAnBD,4BAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Opacar extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Opacar = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Opacar extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'opacity';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `opacity(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `opacity(${this.valor})`;
17
+ }
18
+ }
19
+ exports.Opacar = Opacar;
20
+ //# sourceMappingURL=opacar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opacar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/opacar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,MAAO,SAAQ,eAAM;IAK9B,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACvD;QAED,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,CAAA;IACnC,CAAC;CACJ;AAnBD,wBAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Perspectivar extends Metodo {
4
+ valor: number | string;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Perspectivar = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Perspectivar extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = typeof valor === "number" ? Number(valor.lexema) : valor.lexema;
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'perspective';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `perspective(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `perspective(${this.valor})`;
17
+ }
18
+ }
19
+ exports.Perspectivar = Perspectivar;
20
+ //# sourceMappingURL=perspectivar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"perspectivar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/perspectivar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,YAAa,SAAQ,eAAM;IAKpC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAE,KAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAE,KAAiB,CAAC,MAAM,CAAC;QACvG,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;IAClC,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,eAAe,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SAC3D;QAED,OAAO,eAAe,IAAI,CAAC,KAAK,GAAG,CAAA;IACvC,CAAC;CACJ;AAnBD,oCAmBC"}
@@ -0,0 +1,14 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class ProjetarSombra extends Metodo {
4
+ valor1: number;
5
+ quantificador1: string;
6
+ valor2: number;
7
+ quantificador2: string;
8
+ valor3: number;
9
+ quantificador3: string;
10
+ cor: string;
11
+ traducao: string;
12
+ constructor(valor1: Simbolo, quantificador1: Simbolo, valor2: Simbolo, quantificador2: Simbolo, valor3: Simbolo, quantificador3: Simbolo, cor: Simbolo);
13
+ paraTexto(): string;
14
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjetarSombra = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ const cores_1 = require("../../modificadores/atributos/cores");
6
+ class ProjetarSombra extends metodo_1.Metodo {
7
+ constructor(valor1, quantificador1, valor2, quantificador2, valor3, quantificador3, cor) {
8
+ super();
9
+ this.valor1 = Number(valor1.lexema);
10
+ this.quantificador1 = quantificador1.lexema;
11
+ this.valor2 = Number(valor2.lexema);
12
+ this.quantificador2 = quantificador2.lexema;
13
+ this.valor3 = valor3 ? Number(valor3.lexema) : null;
14
+ this.quantificador3 = quantificador3 ? quantificador3.lexema : null;
15
+ this.cor = cor ? cor.lexema : null;
16
+ this.traducao = 'drop-shadow';
17
+ }
18
+ paraTexto() {
19
+ /**
20
+ * CASOS:
21
+ * 1. Dois valores
22
+ * 2. Dois valores + cor
23
+ * 3. Três valores
24
+ * 4. Três valores + cor
25
+ */
26
+ if (!this.valor3) {
27
+ if (!this.cor) {
28
+ return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2})`;
29
+ }
30
+ else {
31
+ this.cor = cores_1.cores[this.cor];
32
+ return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.cor})`;
33
+ }
34
+ }
35
+ else if (!this.cor) {
36
+ return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.valor3}${this.quantificador3})`;
37
+ }
38
+ this.cor = cores_1.cores[this.cor];
39
+ return `drop-shadow(${this.valor1}${this.quantificador1} ${this.valor2}${this.quantificador2} ${this.valor3}${this.quantificador3} ${this.cor})`;
40
+ }
41
+ }
42
+ exports.ProjetarSombra = ProjetarSombra;
43
+ //# sourceMappingURL=projetar-sombra.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projetar-sombra.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/projetar-sombra.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,+DAA4D;AAE5D,MAAa,cAAe,SAAQ,eAAM;IAUtC,YAAY,MAAe,EAAE,cAAuB,EAAE,MAAe,EAAE,cAAuB,EAC1F,MAAe,EAAE,cAAuB,EAAE,GAAY;QACtD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,MAAM,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,MAAM,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACpD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;IAClC,CAAC;IAED,SAAS;QACL;;;;;;WAMG;QACH,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACd,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACX,OAAO,eAAe,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;aAClG;iBAAM;gBACH,IAAI,CAAC,GAAG,GAAG,aAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBAC3B,OAAO,eAAe,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,GAAG,GAAG,CAAA;aAC9G;SACJ;aAAM,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;YAClB,OAAO,eAAe,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,GAAG,CAAA;SACvI;QAED,IAAI,CAAC,GAAG,GAAG,aAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC3B,OAAO,eAAe,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,GAAG,GAAG,CAAA;IACpJ,CAAC;CACJ;AA7CD,wCA6CC"}
@@ -0,0 +1,10 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Raio extends Metodo {
4
+ posicao: string;
5
+ valor: number;
6
+ quantificador: string;
7
+ traducao: string;
8
+ constructor(posicao: Simbolo, valor: Simbolo, quantificador: Simbolo);
9
+ paraTexto(): string;
10
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Raio = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ const posicoes_1 = require("../../modificadores/atributos/posicoes");
6
+ class Raio extends metodo_1.Metodo {
7
+ constructor(posicao, valor, quantificador) {
8
+ super();
9
+ this.posicao = posicao ? posicao.lexema : null;
10
+ this.valor = Number(valor.lexema);
11
+ this.quantificador = quantificador.lexema;
12
+ this.traducao = 'ray';
13
+ }
14
+ paraTexto() {
15
+ if (this.posicao) {
16
+ this.posicao = posicoes_1.posicoesRaio[this.posicao];
17
+ return `ray(${this.posicao} ${this.valor}${this.quantificador})`;
18
+ }
19
+ return `ray(${this.valor}${this.quantificador})`;
20
+ }
21
+ }
22
+ exports.Raio = Raio;
23
+ //# sourceMappingURL=raio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"raio.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/raio.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAClC,qEAAsE;AAEtE,MAAa,IAAK,SAAQ,eAAM;IAM5B,YAAY,OAAgB,EAAE,KAAc,EAAE,aAAsB;QAChE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/C,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,MAAM,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IAC1B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,IAAI,CAAC,OAAO,GAAG,uBAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC1C,OAAO,OAAO,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACnE;QAED,OAAO,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;IACpD,CAAC;CACJ;AAtBD,oBAsBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class RotacionarEixoZ extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RotacionarEixoZ = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class RotacionarEixoZ extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'rotateZ';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `rotateZ(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `rotateZ(${this.valor})`;
17
+ }
18
+ }
19
+ exports.RotacionarEixoZ = RotacionarEixoZ;
20
+ //# sourceMappingURL=rotacionar-eixo-z.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotacionar-eixo-z.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/rotacionar-eixo-z.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,eAAgB,SAAQ,eAAM;IAKvC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACvD;QAED,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,CAAA;IACnC,CAAC;CACJ;AAnBD,0CAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class RotacionarHorizontal extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RotacionarHorizontal = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class RotacionarHorizontal extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'rotateX';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `rotateX(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `rotateX(${this.valor})`;
17
+ }
18
+ }
19
+ exports.RotacionarHorizontal = RotacionarHorizontal;
20
+ //# sourceMappingURL=rotacionar-horizontal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotacionar-horizontal.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/rotacionar-horizontal.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,oBAAqB,SAAQ,eAAM;IAK5C,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACvD;QAED,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,CAAA;IACnC,CAAC;CACJ;AAnBD,oDAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class RotacionarMatiz extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RotacionarMatiz = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class RotacionarMatiz extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'hue-rotate';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `hue-rotate(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `hue-rotate(${this.valor})`;
17
+ }
18
+ }
19
+ exports.RotacionarMatiz = RotacionarMatiz;
20
+ //# sourceMappingURL=rotacionar-matiz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotacionar-matiz.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/rotacionar-matiz.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,eAAgB,SAAQ,eAAM;IAKvC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC;IACjC,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,cAAc,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SAC1D;QAED,OAAO,cAAc,IAAI,CAAC,KAAK,GAAG,CAAA;IACtC,CAAC;CACJ;AAnBD,0CAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class RotacionarVertical extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RotacionarVertical = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class RotacionarVertical extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'rotateY';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `rotateY(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `rotateY(${this.valor})`;
17
+ }
18
+ }
19
+ exports.RotacionarVertical = RotacionarVertical;
20
+ //# sourceMappingURL=rotacionar-vertical.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotacionar-vertical.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/rotacionar-vertical.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,kBAAmB,SAAQ,eAAM;IAK1C,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACvD;QAED,OAAO,WAAW,IAAI,CAAC,KAAK,GAAG,CAAA;IACnC,CAAC;CACJ;AAnBD,gDAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Rotacionar extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Rotacionar = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Rotacionar extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'rotate';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `rotate(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `rotate(${this.valor})`;
17
+ }
18
+ }
19
+ exports.Rotacionar = Rotacionar;
20
+ //# sourceMappingURL=rotacionar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotacionar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/rotacionar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,UAAW,SAAQ,eAAM;IAKlC,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACtD;QAED,OAAO,UAAU,IAAI,CAAC,KAAK,GAAG,CAAA;IAClC,CAAC;CACJ;AAnBD,gCAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Saturar extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Saturar = void 0;
4
+ const metodo_1 = require("./metodo");
5
+ class Saturar extends metodo_1.Metodo {
6
+ constructor(valor, quantificador) {
7
+ super();
8
+ this.valor = Number(valor.lexema);
9
+ this.quantificador = quantificador ? quantificador.lexema : null;
10
+ this.traducao = 'saturate';
11
+ }
12
+ paraTexto() {
13
+ if (this.quantificador) {
14
+ return `saturate(${this.valor}${this.quantificador})`;
15
+ }
16
+ return `saturate(${this.valor})`;
17
+ }
18
+ }
19
+ exports.Saturar = Saturar;
20
+ //# sourceMappingURL=saturar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saturar.js","sourceRoot":"","sources":["../../../../fontes/valores/metodos/saturar.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAElC,MAAa,OAAQ,SAAQ,eAAM;IAK/B,YAAY,KAAc,EAAE,aAAsB;QAC9C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;QACjE,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED,SAAS;QACL,IAAI,IAAI,CAAC,aAAa,EAAE;YACpB,OAAO,YAAY,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,GAAG,CAAA;SACxD;QAED,OAAO,YAAY,IAAI,CAAC,KAAK,GAAG,CAAA;IACpC,CAAC;CACJ;AAnBD,0BAmBC"}
@@ -0,0 +1,9 @@
1
+ import { Simbolo } from "../../lexador";
2
+ import { Metodo } from "./metodo";
3
+ export declare class Sepia extends Metodo {
4
+ valor: number;
5
+ quantificador: string;
6
+ traducao: string;
7
+ constructor(valor: Simbolo, quantificador: Simbolo);
8
+ paraTexto(): string;
9
+ }