Skip to content

Commit

Permalink
Add definitions for members of the Scanner class.
Browse files Browse the repository at this point in the history
  • Loading branch information
BartVandewoestyne committed Feb 13, 2024
1 parent 23a07a7 commit eefd088
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Structural_Patterns/Facade/Scanner.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include "Scanner.h"

#include "Token.h"

Scanner::Scanner(istream& stream)
: _inputStream(stream)
{}

Scanner::~Scanner()
{}

Token& Scanner::Scan()
{
// TODO
static Token dummyToken;
return dummyToken;
}

0 comments on commit eefd088

Please sign in to comment.