#include <Ql_nameop.hxx>
Inherits Ql_varop.
Inheritance diagram for Ql_nameop:
Public Member Functions | |
| Ql_nameop (int, char *, Ql_operation *, int) | |
| int | is_equiv (Ql_operation *, Ql_renaming *, Ql_iterop *) |
| Ql_operation * | definition () |
| int | type_infer (int *) |
| int | evaluate () |
| int | assigned_var () |
| Ql_nameop::Ql_nameop | ( | int | n, | |
| char * | v, | |||
| Ql_operation * | def, | |||
| int | assigned | |||
| ) |
Construction of a nameop operation
| n | the name (code) of this operation | |
| v | the name of this variable | |
| def | the definition operation | |
| assigned | true (1) if this nameop is assigned a definition (i.e. if def <> NULL) |
| int Ql_nameop::is_equiv | ( | Ql_operation * | op, | |
| Ql_renaming * | renaming, | |||
| Ql_iterop * | circle | |||
| ) | [virtual] |
Used when testing the equivalence of two iterators. Checks the equivalence of two operations the first of which is a nameop. Applied inside an iterator (circle) in which the scan vars are possibly renamed
| op | the operation to check equivalence with | |
| renaming | a variable renaming | |
| circle | the iterator in which we check the equivalence |
Implements Ql_operation.
| Ql_operation* Ql_nameop::definition | ( | ) | [inline] |
| int Ql_nameop::type_infer | ( | int * | error_code | ) |
Type inference for nameops. Copy the type of the definition operation
| int Ql_nameop::evaluate | ( | ) | [virtual] |
Virtual method, implemented for each of the more specific subclasses of Ql_operation
Implements Ql_operation.
| int Ql_nameop::assigned_var | ( | ) | [inline] |
1.5.0