Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
1432690d
Commit
1432690d
authored
14 years ago
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
Fix comment.
parent
aab45dd4
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/ops/rule.h
+2
-4
2 additions, 4 deletions
libwccl/ops/rule.h
with
2 additions
and
4 deletions
libwccl/ops/rule.h
+
2
−
4
View file @
1432690d
...
...
@@ -30,7 +30,7 @@ public:
* @param sentence_context SentenceContext of the Sentence to execute the Rule on.
* @see execute() - equivalent method; the \link operator()() operator() \endlink allows
* more convenient functional notation, however if you only have a pointer
* you might prefer the
apply
method as shown below. The choice is yours.
* you might prefer the
execute
method as shown below. The choice is yours.
* \code
* Bool res;
* res = rule(sc);
...
...
@@ -39,7 +39,7 @@ public:
* // or if you have a pointer...
* res = (*rule_ptr)(sc);
* // versus
* res = rule_ptr->
apply
(sc);
* res = rule_ptr->
execute
(sc);
* \endcode
*/
Bool
operator
()(
SentenceContext
&
sentence_context
);
...
...
@@ -49,8 +49,6 @@ public:
* not execute any of the rules if condition is false.
* @returns True if any of the actions made a change, False otherwise.
* @param sentence_context SentenceContext of the Sentence to execute the Rule on.
* @note The result is conciously marked as const, so a copy of Rule data
* is not created unless necessary.
* @see \link operator()() operator() \endlink - an equivalent of this method that allows
* functional notation, treating Rule directly as a function
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment