An entry on the indexing expressions stack. More...

`#include <backend.h>`

## Public Attributes | |

SyntaxNode * | dummyVar |

SyntaxNode representing the dummy variable expr. | |

SyntaxNode * | set |

SyntaxNode representing the set. |

An entry on the indexing expressions stack.

add_index implements a stack of applicable indexing expressions: for processing the model. Indexing expressions on the stack come from block definitions that have been passed.

Indexing expressions are stored separately by dummy variable part (the bit before the 'in' keyword) and set part (the bit after the 'in' keyword)

**Attention:**- this stack could be implemented as its own class: these two would become static class variables

**Bug:**- this is fairly dumb at the moment: it cannot deal with
- multiple dimensions {i in SET1,j in SET2}
- SET valued expressions: {i in SET1 cross SET2}
- conditions: {(i,j) in SET1:i<j}

SyntaxNode representing the dummy variable expr.

Referenced by modified_write(), process_model(), write_ampl_for_submodel_(), and AmplModel::writeTaggedComponents().

SyntaxNode representing the set.

Referenced by modified_write(), process_model(), write_ampl_for_submodel_(), and AmplModel::writeTaggedComponents().

The documentation for this struct was generated from the following file:

Generated on Fri Feb 18 2011 14:03:58 for SML by 1.7.1