Visitor to check some semantic rules on the ast
More...
Visitor to check some semantic rules on the ast
Current checks:
- Check that a function or a procedure containing a TABLE statement contains only one argument (mandatory in mod2c).
- Check that destructor blocks are only inside mod file that are point_process.
- A TABLE statement in functions cannot have name list, and should have one in procedures.
- Check if ion variables from a
USEION
statement are not declared in CONSTANT
block.
- Check if an independent variable is not 't'.
- Check that mutex are not badly use
- Check than function table got at least one argument.
- Check that at most one derivative block is present.
- Check that RANDOM variable is mentioned only as first arg in random function.
#include <semantic_analysis_visitor.hpp>
The documentation for this class was generated from the following file: