stuff-from-scratch/src/base/compiler/Lexer.h
2023-12-21 09:18:44 +00:00

11 lines
295 B
C++

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