blob: 183ffd027ccdb3fe54d025a1c433d3ac7d4433be [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 Christian Pontesegger and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Christian Pontesegger - initial API and implementation
*******************************************************************************/
package org.eclipse.ease.ui.scripts.expressions.definitions;
import org.eclipse.core.expressions.Expression;
public class AndExpressionDefinition extends AbstractCompositeExpressionDefinition {
@Override
public Expression toCoreExpression() {
return ExpressionFactory.getInstance().createAndExpression(getChildrenAsExpressions());
}
}