| chigraph master Systems programming language written for beginners in LLVM

Namespaces | Macros
FunctionValidator.hpp File Reference

Defines functions for validating GraphFunction objects. More...

`#include "chi/Fwd.hpp"`
Include dependency graph for FunctionValidator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
| chi
| The namespace where chigraph lives.

## Functions
Function Validation
Functions for making sure that generated functions are valid (also usable as a linter tools)
Result | chi::validateFunction (const GraphFunction &func)
| Validate that a function is compilable. More...
Result | chi::validateFunctionConnectionsAreTwoWay (const GraphFunction &func)
| Make sure that connections connect back and that they have the same types. More...
Result | chi::validateFunctionNodeInputs (const GraphFunction &func)
| Make sure that nodes are called before their outputs are used. More...
Result | chi::validateFunctionExecOutputs (const GraphFunction &func)
| Make sure nodes have an output connection. More...
Result | chi::validateFunctionEntryType (const GraphFunction &func)
| Make sure the function entry type aligns with the function type. More...
Result | chi::validateFunctionExitTypes (const GraphFunction &func)
| Make sure the function exit types align with the function type. More...
Result | chi::validateFunctionMainSignature (const GraphFunction &func)
| Make sure it's a valid signautre for a main function. More...

## Detailed Description

Defines functions for validating GraphFunction objects.

Definition in file FunctionValidator.hpp.