private static IAbstractNode convertAnd(final CommonTree ast) throws RecognitionException {
  final List<IAbstractNode> children=new ArrayList<IAbstractNode>();
  for (  final Object childObject : ast.getChildren()) {
    children.add(convert((CommonTree)childObject));
  }
  return new CAbstractAndExpression(children);
}

private static IAbstractNode convertAnd ( final CommonTree ast ) throws RecognitionException { final List < IAbstractNode > children = new ArrayList < IAbstractNode > ( ) ; for ( final Object childObject : ast . getChildren ( ) ) { children . add ( convert ( ( CommonTree ) childObject ) ) ; } return new CAbstractAndExpression ( children ) ; }
converts an antrl and ast into a filter and ast .
