MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/ast/lexer.h>
Public Member Functions | |
Lexer (AST &, std::istream &, const fs::path *path=nullptr, std::ostream *md=nullptr) | |
Creates a lexer to read *.mim files (see Lexical Structure). | |
AST & | ast () |
const fs::path * | path () const |
Tok | lex () |
Friends | |
class | fe::Lexer< 3, Lexer > |
mim::ast::Lexer::Lexer | ( | AST & | ast, |
std::istream & | istream, | ||
const fs::path * | path = nullptr, | ||
std::ostream * | md = nullptr ) |
Tok mim::ast::Lexer::lex | ( | ) |
Definition at line 31 of file lexer.cpp.
References ast(), and mim::ast::AST::error().