Skip to content
Snippets Groups Projects
Commit 1f557d68 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Rename Action to TagAction, part two, renaming files

parent 7258da92
Branches
No related merge requests found
......@@ -27,7 +27,6 @@ endif(WIN32)
SET(libwccl_STAT_SRC
exception.cpp
ops/action.cpp
ops/actions/delete.cpp
ops/actions/relabel.cpp
ops/actions/select.cpp
......@@ -60,6 +59,7 @@ SET(libwccl_STAT_SRC
ops/functions/tset/getsymbols.cpp
ops/functions/tset/getsymbolsinrange.cpp
ops/rulesequence.cpp
ops/tagaction.cpp
ops/tagrule.cpp
parser/grammar.g
parser/Parser.cpp
......
#ifndef LIBWCCL_OPS_ACTIONS_UNIFY_H
#define LIBWCCL_OPS_ACTIONS_UNIFY_H
#include <libwccl/ops/action.h>
#include <libwccl/ops/tagaction.h>
#include <libwccl/values/position.h>
#include <libwccl/values/bool.h>
#include <libwccl/ops/function.h>
......@@ -12,7 +12,7 @@ namespace Wccl {
* Action to unify tokens on an agreement, removing lexemes
* that violate the agreement.
*/
class Unify : public Action
class Unify : public TagAction
{
public:
typedef boost::shared_ptr<Function<Position> > PosFunctionPtr;
......
File moved
File moved
......@@ -221,7 +221,7 @@ TagRule& TagRule::operator=(const TagRule& other) {
inline
TagRule::TagRule()
: ParsedExpression((Variables())),
actions_(boost::make_shared<std::vector<boost::shared_ptr<Action> > >()),
actions_(boost::make_shared<std::vector<boost::shared_ptr<TagAction> > >()),
condition_(detail::DefaultFunction<Bool>()),
name_()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment