mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
20 lines
852 B
C++
20 lines
852 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "Parsing/Commands/Impl/CommandsParserValue.h"
|
|
#include "Parsing/Matcher/AbstractMatcherFactory.h"
|
|
|
|
class CommandsMatcherFactory final : public AbstractMatcherFactory<CommandsParserValue>
|
|
{
|
|
public:
|
|
explicit CommandsMatcherFactory(const IMatcherForLabelSupplier<CommandsParserValue>* labelSupplier);
|
|
|
|
_NODISCARD MatcherFactoryWrapper<CommandsParserValue> Type(CommandsParserValueType type) const;
|
|
_NODISCARD MatcherFactoryWrapper<CommandsParserValue> Keyword(std::string value) const;
|
|
_NODISCARD MatcherFactoryWrapper<CommandsParserValue> Identifier() const;
|
|
_NODISCARD MatcherFactoryWrapper<CommandsParserValue> Integer() const;
|
|
_NODISCARD MatcherFactoryWrapper<CommandsParserValue> FloatingPoint() const;
|
|
_NODISCARD MatcherFactoryWrapper<CommandsParserValue> Char(char c) const;
|
|
};
|