GPUOcelot
|
An interface that parses a text or binary file and generates an internal representation of a program. More...
#include <Parser.h>
Public Member Functions | |
virtual | ~Parser () |
Virtual destructor. | |
virtual void | parse (std::istream &input, ir::Instruction::Architecture language=ir::Instruction::PTX)=0 |
Parse a file, generating an internal representation of the program. | |
Public Attributes | |
std::string | fileName |
Name of the file being parsed. |
An interface that parses a text or binary file and generates an internal representation of a program.
virtual parser::Parser::~Parser | ( | ) | [inline, virtual] |
Virtual destructor.
virtual void parser::Parser::parse | ( | std::istream & | input, |
ir::Instruction::Architecture | language = ir::Instruction::PTX |
||
) | [pure virtual] |
Parse a file, generating an internal representation of the program.
input | The stream being parsed |
language | What is the language of the file being parsed? |
Implemented in parser::PTXParser.
std::string parser::Parser::fileName |
Name of the file being parsed.