+ if( (n = token->getChild("contains", false )).valid() ) {
+ return checkCondition( n, true, &contains, "contains") ?
+ processTokens(token->getChild("then",false)) :
+ processTokens(token->getChild("else",false));
+ }
+
+ if( (n = token->getChild("not-contains", false )).valid() ) {
+ return checkCondition( n, false, &contains, "not-contains") ?
+ processTokens(token->getChild("then",false)) :
+ processTokens(token->getChild("else",false));
+ }
+
+ if( (n = token->getChild("ends-with", false )).valid() ) {
+ return checkCondition( n, true, &ends_with, "ends-with") ?
+ processTokens(token->getChild("then",false)) :
+ processTokens(token->getChild("else",false));
+ }
+
+ if( (n = token->getChild("not-ends-with", false )).valid() ) {
+ return checkCondition( n, false, &ends_with, "not-ends-with") ?
+ processTokens(token->getChild("then",false)) :
+ processTokens(token->getChild("else",false));
+ }
+