Limbo 3.5.4
Loading...
Searching...
No Matches
test_bison.cpp File Reference

test ebeam parser, see EbeamParser::Driver and EbeamParser::EbeamDataBase More...

#include <iostream>
#include <fstream>
#include <limbo/parsers/ebeam/bison/EbeamDriver.h>

Go to the source code of this file.

Classes

class  EbeamDataBase
 Custom class that inheritates EbeamParser::EbeamDataBase with all the required callbacks defined. More...

Functions

void test1 (string const &filename)
 test 1: use function wrapper EbeamParser::read
void test2 (string const &filename)
 test 2: use class wrapper EbeamParser::Driver
int main (int argc, char **argv)
 main function

Detailed Description

test ebeam parser, see EbeamParser::Driver and EbeamParser::EbeamDataBase

Author
Yibo Lin
Date
Oct 2014

Definition in file test_bison.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function

Parameters
argcnumber of arguments
argvvalues of arguments
Returns
0

Definition at line 70 of file test_bison.cpp.

◆ test1()

void test1 ( string const & filename)

test 1: use function wrapper EbeamParser::read

Definition at line 47 of file test_bison.cpp.

◆ test2()

void test2 ( string const & filename)

test 2: use class wrapper EbeamParser::Driver

Definition at line 55 of file test_bison.cpp.