PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::CMoveBeforeManipulator Class Reference

#include <Manipulators.h>

+ Inheritance diagram for Puma::CMoveBeforeManipulator:

Public Member Functions

 CMoveBeforeManipulator (CTree *from, CTree *to)
 
 CMoveBeforeManipulator (Token *, Token *, Token *)
 
 ~CMoveBeforeManipulator ()
 
const char * op () const
 
ListElementduplicate ()
 Duplicate this list element.
 
Array< Token * > & args ()
 
void args (Array< Token * > &)
 
ManipError valid (ManipMode) const
 
void manipulate ()
 
void manipulate (CTree *from, CTree *to)
 
void manipulate (Token *from, Token *to, Token *at)
 
- 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.
 
virtual ~ListElement ()
 Destructor.
 
Listbelonging_to () const
 Get the list this element belongs to.
 

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

◆ CMoveBeforeManipulator() [1/2]

Puma::CMoveBeforeManipulator::CMoveBeforeManipulator ( CTree * from,
CTree * to )

◆ CMoveBeforeManipulator() [2/2]

Puma::CMoveBeforeManipulator::CMoveBeforeManipulator ( Token * ,
Token * ,
Token *  )

◆ ~CMoveBeforeManipulator()

Puma::CMoveBeforeManipulator::~CMoveBeforeManipulator ( )
inline

Member Function Documentation

◆ args() [1/2]

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

Implements Puma::Manipulator.

◆ args() [2/2]

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

Implements Puma::Manipulator.

◆ duplicate()

ListElement * Puma::CMoveBeforeManipulator::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/3]

void Puma::CMoveBeforeManipulator::manipulate ( )
virtual

Implements Puma::Manipulator.

◆ manipulate() [2/3]

void Puma::CMoveBeforeManipulator::manipulate ( CTree * from,
CTree * to )
inline

◆ manipulate() [3/3]

void Puma::CMoveBeforeManipulator::manipulate ( Token * from,
Token * to,
Token * at )
inline

◆ op()

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

Implements Puma::Manipulator.

◆ valid()

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

Implements Puma::Manipulator.