- Dec 10, 2010
-
-
Adam Wardynski authored
It is coherent now with the SentenceContext::is_inside(int abs_pos) - SentenceContext::is_inside(Position pos) is added, while Position::is_inside(SentenceContext) is removed
-
- Dec 08, 2010
-
-
ilor authored
Values cleanup and doxy: remove some redundancies, make the Begin/End constants in Position an enum, change tag_ref to contents
-
- Nov 30, 2010
-
-
Adam Wardynski authored
It is more intuitive that way, e.g. equal(2,3) is never true, equal(3,3) is always true. Nowhere is only equal to Nowhere, and Begin or End are equal to nonspecial positions depending on current position in the sentence context.
-
- Nov 20, 2010
-
-
Adam Wardynski authored
-
Adam Wardynski authored
My relative position tests wouldn't compile in GCC where I used Position::Nowhere for comparison. Apparently according to standard TC1, section 9.4.2, paragraph 4, if you want to use integral static const in a program, you still have to define it even if there's initializer in the declaration.
-
- Nov 19, 2010
-
-
Adam Wardynski authored
Checks wether Position is_inside, is_outside, or equals to other Position given the SentenceContext.
-
- Nov 17, 2010
-
-
Adam Wardynski authored
The function returns string representation of a variable of given Value type, using provided variable name.
-
- Nov 03, 2010
- Oct 30, 2010
-
-
ilor authored
-