Tree valueNode = getChild(1);
switch(valueNode.getType()){
case NUMBER:
Number value = (Number)((ValueTreeNode)valueNode).getValue();
return new PathValueEventFilter(xpath, new NumericValuePredicate(value, getToken().getText()));
case TIME_MILLIS_FUN_NAME:
TimeMillisValueTreeNode timeValueNode = (TimeMillisValueTreeNode)valueNode;
return new PathValueEventFilter(
xpath,
new TimeMillisValuePredicate(