Sen API
Sen Libraries
Loading...
Searching...
No Matches
type_match.h File Reference
#include "sen/core/base/result.h"
#include "sen/core/meta/type.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  sen::TypeMatchIssue
 Information about a type matching issue. More...
struct  sen::TypesMatch
 Types are compatible. More...
struct  sen::TypesDontMatch
 Types do not match. More...

Namespaces

namespace  sen

Typedefs

using sen::TypeMatch = Result<TypesMatch, TypesDontMatch>
 The result of a type matching analysis.

Enumerations

enum class  sen::TypeMatchProblem { sen::TypeMatchProblem::compatible , sen::TypeMatchProblem::incompatible , sen::TypeMatchProblem::missing }
 Kind of problem found when matching types. More...

Functions

TypeMatch sen::canConvert (const Type &from, const Type &to)
 Analyze if a type can be converted to another.