PUMA Library Reference Manual
Puma::KillManipulator Class Reference

#include <Manipulators.h>

+ Inheritance diagram for Puma::KillManipulator:

Public Member Functions

 KillManipulator (Token *from, Token *to=(Token *) 0)
 
 ~KillManipulator ()
 
const char * op () const
 
ListElementduplicate ()
 Duplicate this list element. More...
 
Array< Token * > & args ()
 
void args (Array< Token * > &)
 
ManipError valid (ManipMode) const
 
void manipulate ()
 
void manipulate (Token *from, Token *to=(Token *) 0)
 
- Public Member Functions inherited from Puma::Manipulator
virtual ~Manipulator ()
 
void ignore_mask (ManipIgnoreMask mim)
 
ManipIgnoreMask ignore_mask () const
 
- Public Member Functions inherited from Puma::ListElement
 ListElement ()
 Constructor. More...
 
virtual ~ListElement ()
 Destructor. More...
 
Listbelonging_to () const
 Get the list this element belongs to. More...
 

Additional Inherited Members

- Static Public Attributes inherited from Puma::Manipulator
static const char * copy_op
 
static const char * cut_op
 
static const char * paste_op
 
static const char * paste_before_op
 
static const char * move_op
 
static const char * move_before_op
 
static const char * kill_op
 
static const char * cpp_copy_op
 
static const char * cpp_copy_before_op
 
static const char * cpp_kill_op
 
static const char * cpp_move_op
 
static const char * cpp_move_before_op
 
static const char * sequence_op
 
static const char * cpp_replace_op
 
static const char * cpp_swap_op
 
- Protected Member Functions inherited from Puma::Manipulator
 Manipulator ()
 
int valid (Token *, Token *, ManipMode) const
 

Constructor & Destructor Documentation

◆ KillManipulator()

Puma::KillManipulator::KillManipulator ( Token from,
Token to = (Token *) 0 
)

◆ ~KillManipulator()

Puma::KillManipulator::~KillManipulator ( )
inline

Member Function Documentation

◆ args() [1/2]

Array<Token*>& Puma::KillManipulator::args ( )
inlinevirtual

Implements Puma::Manipulator.

◆ args() [2/2]

void Puma::KillManipulator::args ( Array< Token * > &  )
virtual

Implements Puma::Manipulator.

◆ duplicate()

ListElement* Puma::KillManipulator::duplicate ( )
inlinevirtual

Duplicate this list element.

To be implemented by concrete list element implementations.

Returns
A pointer to the new list element.

Implements Puma::Manipulator.

◆ manipulate() [1/2]

void Puma::KillManipulator::manipulate ( )
virtual

Implements Puma::Manipulator.

◆ manipulate() [2/2]

void Puma::KillManipulator::manipulate ( Token from,
Token to = (Token*) 0 
)
inline

◆ op()

const char* Puma::KillManipulator::op ( ) const
inlinevirtual

Implements Puma::Manipulator.

◆ valid()

ManipError Puma::KillManipulator::valid ( ManipMode  ) const
virtual

Implements Puma::Manipulator.