public class ASTFilterSpecHelper
{
public static FilterSpecRaw walkFilterSpec(EsperEPL2GrammarParser.EventFilterExpressionContext ctx, PropertyEvalSpec propertyEvalSpec, Map<Tree, ExprNode> astExprNodeMap) {
String eventName = ASTUtil.unescapeClassIdent(ctx.classIdentifier());
List<ExprNode> exprNodes = ctx.expressionList() != null ? ASTExprHelper.exprCollectSubNodes(ctx.expressionList(), 0, astExprNodeMap) : new ArrayList<ExprNode>(1);
return new FilterSpecRaw(eventName, exprNodes, propertyEvalSpec);
}