// File: /workspace/github_cpp_makefile_star2_O3/araujoigor[P]ipp-compiler/./src/include/IPrint.hpp
// Function: IPrint::generateCode(std::basic_fstream<char, std::char_traits<char>>&)
void generateCode(std::fstream& fileStream) {

		/* O comando equivalente a escreva é o cout */
		fileStream << "cout";

		/* Quebramos a expressão usando o operador de concatenação '+' */
		boost::char_separator<char> separator("+");
		Tokenizer tokens(*expression, separator);

		/* Para cada token, procuramos por erros*/
		for(auto tokenIterator = tokens.begin(); tokenIterator != tokens.end(); tokenIterator++){

			/* Se o token não for um número nem uma string, é uma variável */
			if(!IMath::isNumber(*tokenIterator) && tokenIterator->find("\"") == string::npos){
				IData *var = ownerBlock->getLocalVariable(*tokenIterator);

				/* Se a variável não tiver sido definida, geramos um erro */
				if(var == NULL){
					std::string errorMsg = "Variavel " + *tokenIterator + " nao declarada.";
					throw ISourceErrorException(errorMsg, myLine);
				}

				/* Adicionamos o operador << para cada token, para concatenação dos valores. */
				fileStream << " << " << *tokenIterator;
			}else
				/* Adicionamos o operador << para cada token, para concatenação dos valores. */
				fileStream << " << " << *tokenIterator;
		}

		fileStream << ";" << endl;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp            # imm = 0x2D8
movq %rsi, %r14
movq %rdi, %r15
addq $0x10, %r14
leaq 0x8069(%rip), %rsi      # 0x2f752
movl $0x4, %edx
movq %r14, %rdi
callq 0x7460
leaq 0x3921(%rip), %rsi      # 0x2b01e
leaq -0x2f8(%rbp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd564
movq %r15, -0x30(%rbp)
movq 0x18(%r15), %rsi
leaq -0x2a8(%rbp), %rdi
movq %rbx, %rdx
callq 0xd60a
leaq -0xf8(%rbp), %rdi
leaq -0x2a8(%rbp), %rsi
callq 0xd694
leaq -0xa8(%rbp), %r15
leaq -0x1f8(%rbp), %rbx
leaq -0x50(%rbp), %r12
leaq -0x180(%rbp), %rdi
leaq -0x2a8(%rbp), %rsi
callq 0xd758
movb -0x120(%rbp), %al
movb -0x98(%rbp), %cl
cmpb $0x1, %al
jne 0x2778d
testb $0x1, %cl
je 0x2778d
movq -0x130(%rbp), %rax
cmpq -0xa8(%rbp), %rax
je 0x27a3a
xorl %r13d, %r13d
jmp 0x27793
cmpb %cl, %al
sete %r13b
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x277ab
callq 0x7350
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
cmpq %rax, %rdi
je 0x277c3
callq 0x7350
movq -0x180(%rbp), %rdi
leaq -0x170(%rbp), %rax
cmpq %rax, %rdi
je 0x277db
callq 0x7350
testb %r13b, %r13b
jne 0x27a4d
cmpb $0x0, -0x98(%rbp)
je 0x27b8c
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xfbae
movq %r12, %rdi
callq 0xa194
testb %al, %al
je 0x27832
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x27878
callq 0x7350
jmp 0x27878
cmpb $0x0, -0x98(%rbp)
je 0x27b8c
movl $0x1, %ecx
leaq -0x90(%rbp), %rdi
leaq 0x381c(%rip), %rsi      # 0x2b06e
xorl %edx, %edx
callq 0x7790
movq %rax, %r13
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2786e
callq 0x7350
cmpq $-0x1, %r13
je 0x2799d
movl $0x4, %edx
movq %r14, %rdi
leaq 0x7ed0(%rip), %rsi      # 0x2f757
callq 0x7460
cmpb $0x0, -0x98(%rbp)
je 0x27b8c
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r14, %rdi
callq 0x7460
movq %rbx, -0x208(%rbp)
movq -0xf8(%rbp), %rsi
movq -0xf0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x208(%rbp), %rdi
callq 0xfbae
leaq -0x1d8(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1e8(%rbp), %rdi
callq 0xfbae
movb -0x8(%r15), %al
movb %al, 0x38(%rbx)
movq -0x10(%r15), %rax
movq %rax, 0x30(%rbx)
movb 0x10(%r15), %al
movb %al, 0x50(%rbx)
movups (%r15), %xmm0
movups %xmm0, 0x40(%rbx)
leaq -0x190(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1a0(%rbp), %rdi
callq 0xfbae
leaq -0xf8(%rbp), %rdi
callq 0xdbe6
movq -0x1a0(%rbp), %rdi
leaq -0x190(%rbp), %rax
cmpq %rax, %rdi
je 0x2796b
callq 0x7350
movq -0x1e8(%rbp), %rdi
leaq -0x1d8(%rbp), %rax
cmpq %rax, %rdi
je 0x27983
callq 0x7350
movq -0x208(%rbp), %rdi
cmpq %rbx, %rdi
je 0x2774c
callq 0x7350
jmp 0x2774c
cmpb $0x0, -0x98(%rbp)
je 0x27b8c
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r13
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x70(%rbp), %rdi
callq 0xfbae
movq %r13, %rdi
leaq -0x70(%rbp), %rsi
callq 0xc924
movq %rax, %r13
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x279f5
callq 0x7350
testq %r13, %r13
je 0x27b2a
movl $0x4, %edx
movq %r14, %rdi
leaq 0x7d4a(%rip), %rsi      # 0x2f757
callq 0x7460
cmpb $0x0, -0x98(%rbp)
je 0x27b8c
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r14, %rdi
callq 0x7460
jmp 0x278af
movq -0x128(%rbp), %rax
cmpq -0xa0(%rbp), %rax
jmp 0x2778f
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27a5f
callq 0x7350
leaq -0xc8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27a74
callq 0x7350
leaq -0xe8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27a89
callq 0x7350
leaq 0x7cf8(%rip), %rsi      # 0x2f788
movl $0x1, %edx
movq %r14, %rdi
callq 0x7460
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7360
movsbl %al, %esi
movq %r14, %rdi
callq 0x7030
movq %rax, %rdi
callq 0x72b0
leaq -0x268(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27ad9
callq 0x7350
leaq -0x288(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27aee
callq 0x7350
leaq -0x2c8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27b03
callq 0x7350
leaq -0x2e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27b18
callq 0x7350
addq $0x2d8, %rsp            # imm = 0x2D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, -0x98(%rbp)
je 0x27b8c
leaq 0x36b7(%rip), %rsi      # 0x2b1f1
leaq -0x248(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0xca4b
leaq 0x7c1c(%rip), %rsi      # 0x2f770
leaq -0x248(%rbp), %rdi
callq 0x7850
leaq -0x170(%rbp), %rcx
movq %rcx, -0x180(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x27bab
movups (%rcx), %xmm0
leaq -0x170(%rbp), %rdx
movups %xmm0, (%rdx)
jmp 0x27bbc
leaq 0x3841(%rip), %rdi      # 0x2b3d4
leaq 0x3841(%rip), %rsi      # 0x2b3db
leaq 0x3860(%rip), %rcx      # 0x2b401
movl $0x3b, %edx
callq 0x72a0
movq %rdx, -0x180(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x170(%rbp)
movq 0x8(%rax), %rdx
movq %rdx, -0x178(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x238(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27beb
callq 0x7350
movl $0x28, %edi
callq 0x71f0
movq %rax, %r14
leaq -0x218(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x180(%rbp), %rsi
movq -0x178(%rbp), %rdx
addq %rsi, %rdx
leaq -0x228(%rbp), %rdi
callq 0xfbae
movq -0x30(%rbp), %rax
movl 0x8(%rax), %edx
movb $0x1, %r12b
leaq -0x228(%rbp), %rsi
movq %r14, %rdi
callq 0xcad6
xorl %r12d, %r12d
leaq 0x1346d(%rip), %rsi     # 0x3b0b0
leaq -0x1b124(%rip), %rdx    # 0xcb26
movq %r14, %rdi
callq 0x7770
movq %rax, %r15
movq -0x228(%rbp), %rdi
cmpq %rbx, %rdi
je 0x27c66
callq 0x7350
testb %r12b, %r12b
jne 0x27c70
jmp 0x27c78
movq %rax, %r15
movq %r14, %rdi
callq 0x72e0
movq -0x180(%rbp), %rdi
leaq -0x170(%rbp), %rax
jmp 0x27cf3
movq %rax, %r15
leaq -0x238(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x27cf3
jmp 0x27ca1
movq %rax, %r15
jmp 0x27d1c
jmp 0x27d01
movq %rax, %r15
jmp 0x27d10
movq %rax, %r15
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
jmp 0x27cf3
jmp 0x27d01
movq %rax, %r15
movq -0x208(%rbp), %rdi
cmpq %rbx, %rdi
jne 0x27cf8
jmp 0x27d04
movq %rax, %r15
leaq -0x208(%rbp), %rdi
callq 0xd89a
jmp 0x27d04
movq %rax, %r15
leaq -0x208(%rbp), %rdi
callq 0xd81c
jmp 0x27d04
movq %rax, %r15
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x27d04
callq 0x7350
jmp 0x27d04
jmp 0x27d01
movq %rax, %r15
leaq -0xf8(%rbp), %rdi
callq 0xd81c
leaq -0x2a8(%rbp), %rdi
callq 0xd864
leaq -0x2f8(%rbp), %rdi
callq 0xd89a
movq %r15, %rdi
callq 0x77b0