| souffle
    2.0.2-371-g6315b36
    | 
Component initialization class. More...
#include <ComponentInit.h>


| Public Member Functions | |
| void | apply (const NodeMapper &mapper) override | 
| Apply the mapper to all child nodes.  More... | |
| ComponentInit * | clone () const override | 
| Create a clone (i.e.  More... | |
| ComponentInit (std::string name, Own< ComponentType > type, SrcLocation loc={}) | |
| std::vector< const Node * > | getChildNodes () const override | 
| Obtain a list of all embedded AST child nodes.  More... | |
| const ComponentType * | getComponentType () const | 
| Return component type.  More... | |
| const std::string & | getInstanceName () const | 
| Return instance name.  More... | |
| void | setComponentType (Own< ComponentType > type) | 
| Set component type.  More... | |
| void | setInstanceName (std::string name) | 
| Set instance name.  More... | |
|  Public Member Functions inherited from souffle::ast::Node | |
| std::string | extloc () const | 
| Return source location of the syntactic element.  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... | |
| Protected Attributes | |
| Own< ComponentType > | componentType | 
| Actual component arguments for instantiation.  More... | |
| std::string | instanceName | 
| Instance name.  More... | |
Component initialization class.
Example: .init X=B<T1,T2>
Intialization of a component with type parameters
Definition at line 47 of file ComponentInit.h.
| 
 | inline | 
Definition at line 49 of file ComponentInit.h.
| 
 | inlineoverridevirtual | 
Apply the mapper to all child nodes.
Reimplemented from souffle::ast::Node.
Definition at line 76 of file ComponentInit.h.
| 
 | inlineoverridevirtual | 
Create a clone (i.e.
deep copy) of this node
Implements souffle::ast::Node.
Definition at line 72 of file ComponentInit.h.
| 
 | inlineoverrideprotectedvirtual | 
Abstract equality check for two AST nodes.
Reimplemented from souffle::ast::Node.
Definition at line 89 of file ComponentInit.h.
| 
 | inlineoverridevirtual | 
Obtain a list of all embedded AST child nodes.
Reimplemented from souffle::ast::Node.
Definition at line 80 of file ComponentInit.h.
| 
 | inline | 
| 
 | inline | 
| 
 | inlineoverrideprotectedvirtual | 
Output to a given output stream.
Implements souffle::ast::Node.
Definition at line 85 of file ComponentInit.h.
| 
 | inline | 
| 
 | inline | 
| 
 | protected | 
Actual component arguments for instantiation.
Definition at line 98 of file ComponentInit.h.
| 
 | protected | 
Instance name.
Definition at line 95 of file ComponentInit.h.
 1.8.17
 1.8.17