Xreate
The Xreate programming language
Namespaces | Functions
typeinference.h File Reference

Type inference analysis. More...

Detailed Description

Type inference analysis.

Namespaces

 xreate::typeinference
 Type inference support.
 

Functions

llvm::Value * doAutomaticTypeConversion (llvm::Value *source, llvm::Type *tyTarget, llvm::IRBuilder<> &builder)
 Casts the given variable to the given type. More...
 
ExpandedType getType (const Expression &expression, const AST &ast)
 Performs basic type inference to deduce the type of the given expression. More...