More documentation for the Lexer
This commit is contained in:
parent
073a97c7b6
commit
09064b1581
@ -10,6 +10,7 @@ typedef std::vector<Token> TokenStream;
|
|||||||
/* The number of data types currently in Sapphire. */
|
/* The number of data types currently in Sapphire. */
|
||||||
#define TYPE_COUNT 14
|
#define TYPE_COUNT 14
|
||||||
|
|
||||||
|
/* The Lexer for the Sapphire compiler. A Lexer reads source code from a file, and turns it into a stream of tokens the compiler can understand. */
|
||||||
class Lexer
|
class Lexer
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user