stuff-from-scratch/src/compiler/Lexer.h
2022-12-06 18:02:43 +00:00

11 lines
311 B
C++

#pragma once
#include <string>
#include <vector>
class Lexer
{
public:
// e.g. Pattern [@](@) returns <source, tag> for input: [source](tag) and delimiter @
static bool matchPattern(const std::string& pattern, const std::string& checkString, char delimiter, std::vector<std::string>& hitSequence);
};