Files
TextParser/TextParser/Schema/BuildingBlocks/StringBlock.cs
Simon Diesenreiter a4e4ee2b85
Some checks failed
Upload Python Package / Create Release (push) Successful in 1m6s
Upload Python Package / deploy (push) Failing after 1m5s
feat: added initial implementation of TextParser, ref: A24-3
2024-12-01 21:31:50 +01:00

26 lines
459 B
C#

namespace Parsing.Schema.BuildingBlocks;
using Parsing.Tokenization;
class StringBlock : BuildingBlockBase
{
public StringBlock()
{
}
public override IToken ParseWord(InputProvider inputs)
{
return new StringToken(inputs.YieldWord());
}
public override bool CanParseWord(InputProvider inputs)
{
return true;
}
public override BlockType GetBlockType()
{
return BlockType.String;
}
}