Empirical
Classes | Namespaces
Lexer.h File Reference

A general-purpose, fast lexer. More...

#include <map>
#include <string>
#include "../base/vector.h"
#include "lexer_utils.h"
#include "RegEx.h"

Go to the source code of this file.

Classes

struct  emp::TokenInfo
 Information about an individual token type to be processed within a Lexer. More...
 
struct  emp::Token
 Information about a token instance from an input stream. More...
 
class  emp::Lexer
 A lexer with a set of token types (and associated regular expressions) More...
 

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Detailed Description

A general-purpose, fast lexer.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2016-2017
Note
Status: BETA