souffle  2.0.2-371-g6315b36
Public Member Functions | Protected Member Functions
souffle::ast::UnnamedVariable Class Reference

Unnamed variable class. More...

#include <UnnamedVariable.h>

Inheritance diagram for souffle::ast::UnnamedVariable:
Inheritance graph
Collaboration diagram for souffle::ast::UnnamedVariable:
Collaboration graph

Public Member Functions

UnnamedVariableclone () const override
 Create clone. More...
 
- Public Member Functions inherited from souffle::ast::Argument
 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 SrcLocationgetSrcLoc () 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

void print (std::ostream &os) const override
 Output to a given output stream. More...
 
- Protected Member Functions inherited from souffle::ast::Node
virtual bool equal (const Node &) const
 Abstract equality check for two AST nodes. More...
 

Detailed Description

Unnamed variable class.

Definition at line 34 of file UnnamedVariable.h.

Member Function Documentation

◆ clone()

UnnamedVariable* souffle::ast::UnnamedVariable::clone ( ) const
inlineoverridevirtual

Create clone.

Implements souffle::ast::Argument.

Definition at line 38 of file UnnamedVariable.h.

◆ print()

void souffle::ast::UnnamedVariable::print ( std::ostream &  os) const
inlineoverrideprotectedvirtual

Output to a given output stream.

Implements souffle::ast::Node.

Definition at line 43 of file UnnamedVariable.h.


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