Nabla  1.0
Nabla - a DSL for Automatic differentiation
traversal.h
Go to the documentation of this file.
1 #ifndef _TRAVERSAL_H
2 #define _TRAVERSAL_H
3 
4 #include <iostream>
5 #include "ast.h"
6 #include <map>
7 #include "sym.h"
8 #include <algorithm>
9 
10 extern char filename[50];
11 
13 
15 
17 
18 int semantic_error(std::string, int a=0, int b=0, bool print_line=false);
19 
20 std::string get_line( int );
21 
22 
23 #endif
filename
char filename[50]
sym.h
ast.h
root
Start * root
semantic_error
int semantic_error(std::string, int a=0, int b=0, bool print_line=false)
Definition: traversal.cpp:361
get_line
std::string get_line(int)
Definition: traversal.cpp:384
traverse_declarations
void traverse_declarations(Start *root)
Definition: traversal.cpp:55
traverse_operations
void traverse_operations(Start *root)
Definition: traversal.cpp:190
traverse_gradient
void traverse_gradient(Start *root)
Definition: traversal.cpp:257
Start
Definition: ast.h:91