Maze Builder Docs 8.2.1
Loading...
Searching...
No Matches
mazes::convert_contract Class Referenceabstract

Contract for converting arguments to args. More...

#include <convert_contract.h>

Inheritance diagram for mazes::convert_contract:
[legend]

Public Member Functions

virtual std::optional< argsconvert (std::string_view arguments) const noexcept=0
 Convert arguments to args.
 

Detailed Description

Contract for converting arguments to args.

Member Function Documentation

◆ convert()

virtual std::optional< args > mazes::convert_contract::convert ( std::string_view arguments) const
nodiscardpure virtualnoexcept

Convert arguments to args.

Parameters
argumentsThe arguments to convert
Returns
The converted args, or std::nullopt if conversion failed

Implemented in mazes::parsing_state.


The documentation for this class was generated from the following file: