Add ZoneDefinition Lexer

This commit is contained in:
Jan
2021-03-10 14:58:02 +01:00
parent c47ea48b6b
commit 8798779b39
21 changed files with 232 additions and 14 deletions

View File

@ -14,6 +14,12 @@ SimpleParserValue SimpleParserValue::EndOfFile(const TokenPos pos)
return pv;
}
SimpleParserValue SimpleParserValue::NewLine(const TokenPos pos)
{
SimpleParserValue pv(pos, SimpleParserValueType::NEW_LINE);
return pv;
}
SimpleParserValue SimpleParserValue::Character(const TokenPos pos, const char c)
{
SimpleParserValue pv(pos, SimpleParserValueType::CHARACTER);