| souffle
    2.0.2-371-g6315b36
    | 
#include <Attribute.h>


| Public Member Functions | |
| Attribute (std::string n, QualifiedName t, SrcLocation loc={}) | |
| Attribute * | clone () const override | 
| Create a clone (i.e.  More... | |
| const std::string & | getName () const | 
| Return attribute name.  More... | |
| const QualifiedName & | getTypeName () const | 
| Return type name.  More... | |
| void | setTypeName (QualifiedName name) | 
| Set type name.  More... | |
|  Public Member Functions inherited from souffle::ast::Node | |
| virtual void | apply (const NodeMapper &) | 
| Apply the mapper to all child nodes.  More... | |
| std::string | extloc () const | 
| Return source location of the syntactic element.  More... | |
| virtual std::vector< const Node * > | getChildNodes () const | 
| Obtain a list of all embedded AST child nodes.  More... | |
| const SrcLocation & | getSrcLoc () const | 
| Return source location of the Node.  More... | |
| Node (SrcLocation loc={}) | |
| bool | operator!= (const Node &other) const | 
| Inequality check for two AST nodes.  More... | |
| bool | operator== (const Node &other) const | 
| Equivalence check for two AST nodes.  More... | |
| void | setSrcLoc (SrcLocation l) | 
| Set source location for the Node.  More... | |
| virtual | ~Node ()=default | 
| Protected Member Functions | |
| bool | equal (const Node &node) const override | 
| Abstract equality check for two AST nodes.  More... | |
| void | print (std::ostream &os) const override | 
| Output to a given output stream.  More... | |
| Private Attributes | |
| std::string | name | 
| Attribute name.  More... | |
| QualifiedName | typeName | 
| Type name.  More... | |
Attribute class.
Example: x: number An attribute consists of a name and its type name.
Definition at line 42 of file Attribute.h.
| 
 | inline | 
Definition at line 44 of file Attribute.h.
| 
 | inlineoverridevirtual | 
Create a clone (i.e.
deep copy) of this node
Implements souffle::ast::Node.
Definition at line 62 of file Attribute.h.
| 
 | inlineoverrideprotectedvirtual | 
Abstract equality check for two AST nodes.
Reimplemented from souffle::ast::Node.
Definition at line 71 of file Attribute.h.
| 
 | inline | 
| 
 | inline | 
| 
 | inlineoverrideprotectedvirtual | 
Output to a given output stream.
Implements souffle::ast::Node.
Definition at line 67 of file Attribute.h.
| 
 | inline | 
| 
 | private | 
Attribute name.
Definition at line 78 of file Attribute.h.
| 
 | private | 
Type name.
Definition at line 81 of file Attribute.h.
 1.8.17
 1.8.17