#include <attr-set.hh>
Public Types | |
typedef uint32_t | size_t |
typedef Attr * | iterator |
typedef const Attr * | const_iterator |
Public Member Functions | |
size_t | size () const |
bool | empty () const |
void | push_back (const Attr &attr) |
const_iterator | find (Symbol name) const |
const Attr * | get (Symbol name) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
Attr & | operator[] (size_t pos) |
const Attr & | operator[] (size_t pos) const |
void | sort () |
size_t | capacity () const |
std::vector< const Attr * > | lexicographicOrder (const SymbolTable &symbols) const |
Public Attributes | |
PosIdx | pos |
Friends | |
class | EvalState |
Bindings contains all the attributes of an attribute set. It is defined by its size and its capacity, the capacity being the number of Attr elements allocated after this structure, while the size corresponds to the number of elements already inserted in this structure.
|
inline |
Returns the attributes in lexicographically sorted order.
|
friend |
EvalErrorBuilder
s may only be constructed by EvalState
. The debugThrow
method must be the final method in any such EvalErrorBuilder
usage, and it handles deleting the object.