Nabla  1.0
Nabla - a DSL for Automatic differentiation
Functions | Variables
traversal.h File Reference
#include <iostream>
#include "ast.h"
#include <map>
#include "sym.h"
#include <algorithm>
Include dependency graph for traversal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void traverse_gradient (Start *root)
 
void traverse_declarations (Start *root)
 
void traverse_operations (Start *root)
 
int semantic_error (std::string, int a=0, int b=0, bool print_line=false)
 
std::string get_line (int)
 

Variables

char filename [50]
 

Function Documentation

◆ get_line()

std::string get_line ( int  )

◆ semantic_error()

int semantic_error ( std::string  ,
int  a = 0,
int  b = 0,
bool  print_line = false 
)

◆ traverse_declarations()

void traverse_declarations ( Start root)

◆ traverse_gradient()

void traverse_gradient ( Start root)

◆ traverse_operations()

void traverse_operations ( Start root)

Variable Documentation

◆ filename

char filename[50]