-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
13 changed files
with
220 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { VisitanteComumInterface, SimboloInterface } from '../interfaces'; | ||
import { Construto } from './construto'; | ||
|
||
export class AcessoElementoMatriz implements Construto { | ||
linha: number; | ||
hashArquivo: number; | ||
|
||
entidadeChamada: Construto; | ||
simboloFechamento: SimboloInterface; | ||
indicePrimario: any; | ||
indiceSecundario: any; | ||
|
||
constructor(hashArquivo: number, entidadeChamada: Construto, indicePrimario: any, indiceSegundario: any, simboloFechamento: SimboloInterface) { | ||
this.linha = entidadeChamada.linha; | ||
this.hashArquivo = hashArquivo; | ||
|
||
this.entidadeChamada = entidadeChamada; | ||
this.indicePrimario = indicePrimario; | ||
this.indiceSecundario = indiceSegundario; | ||
this.simboloFechamento = simboloFechamento; | ||
} | ||
|
||
async aceitar(visitante: VisitanteComumInterface): Promise<any> { | ||
return await visitante.visitarExpressaoAcessoElementoMatriz(this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { VisitanteComumInterface } from '../interfaces'; | ||
import { Construto } from './construto'; | ||
|
||
export class AtribuicaoPorIndicesMatriz implements Construto { | ||
linha: number; | ||
hashArquivo: number; | ||
|
||
objeto: any; | ||
valor: any; | ||
indicePrimario: any; | ||
indiceSecundario: any; | ||
|
||
constructor(hashArquivo: number, linha: number, objeto: any, indicePrimario: any, indiceSecundario: any, valor: any) { | ||
this.linha = linha; | ||
this.hashArquivo = hashArquivo; | ||
|
||
this.objeto = objeto; | ||
this.indicePrimario = indicePrimario; | ||
this.indiceSecundario = indiceSecundario; | ||
this.valor = valor; | ||
} | ||
|
||
async aceitar(visitante: VisitanteComumInterface): Promise<any> { | ||
return await visitante.visitarExpressaoAtribuicaoPorIndicesMatriz(this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters