StringNode
class StringNode : public LeafNode {
StringNode(const char *value, bool caseInsensitive = false);
return _PushNode(new(nothrow) StringNode(value, caseInsensitive), true);
StringNode::StringNode(const char *value, bool caseInsensitive)
StringNode::GetString(BString &predicate)
if (StringNode *strNode = dynamic_cast<StringNode*>(fChild2)) {
error = StringNode(value.String()).GetString(childString2);
if (StringNode *strNode = dynamic_cast<StringNode*>(fChild2)) {
error = StringNode(value.String()).GetString(childString2);
if (StringNode *strNode = dynamic_cast<StringNode*>(fChild2)) {
error = StringNode(value.String()).GetString(childString2);
StringNode(BString v, bool caseInsensitive = false)
StringNode *strNode = dynamic_cast<StringNode*>(right);
rightString = StringNode(BString("*") << strNode->value
StringNode *strNode = dynamic_cast<StringNode*>(right);
rightString = StringNode(BString(strNode->value) << "*")
StringNode *strNode = dynamic_cast<StringNode*>(right);
rightString = StringNode(BString("*") << strNode->value)
new StringNode("some string")
TestPredicate(StringNode("some \" chars ' to \\ be ( escaped ) or "
TestPredicate(StringNode("some \" chars ' to \\ be ( escaped ) or "
TestPredicate(OpNode(B_NOT, new StringNode("some string")));
TestPredicate(OpNode(B_NOT, new StringNode("some string", true)));
new StringNode("hello")
new StringNode("hello"),
TestPredicate(ListNode(new Int32Node(42), new StringNode("hello!")),
new StringNode("hello"),
new StringNode("hello")
StringNode predicate2("I'm the loser. :ยด-(");
new StringNode("hello")
StringNode predicate2("I'm the winner. :-)");
new StringNode("hello")
StringNode predicate2("I'm the winner. :-)");