souffle
2.0.2-371-g6315b36
|
An abstract class for arguments. More...
#include <Argument.h>
Public Member Functions | |
Argument * | clone () const override=0 |
Create clone. More... | |
Node (SrcLocation loc={}) | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from souffle::ast::Node | |
virtual bool | equal (const Node &) const |
Abstract equality check for two AST nodes. More... | |
virtual void | print (std::ostream &os) const =0 |
Output to a given output stream. More... | |
An abstract class for arguments.
Definition at line 33 of file Argument.h.
|
overridepure virtual |
Create clone.
Implements souffle::ast::Node.
Implemented in souffle::ast::Constant, souffle::ast::Functor, souffle::ast::Aggregator, souffle::ast::TypeCast, souffle::ast::IntrinsicFunctor, souffle::ast::NumericConstant, souffle::ast::BranchInit, souffle::ast::UserDefinedFunctor, souffle::ast::Variable, souffle::ast::SubroutineArgument, souffle::ast::RecordInit, souffle::ast::StringConstant, souffle::ast::NilConstant, souffle::ast::Counter, and souffle::ast::UnnamedVariable.