org.drools.compiler.lang.DRLExpressions Maven / Gradle / Ivy
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.drools.compiler.lang;
import org.antlr.runtime.Parser;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.RecognizerSharedState;
import org.antlr.runtime.TokenStream;
import org.drools.compiler.compiler.DroolsParserException;
import org.drools.compiler.lang.descr.BaseDescr;
import java.util.LinkedList;
import java.util.List;
public abstract class DRLExpressions extends Parser {
public DRLExpressions(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public abstract void setBuildDescr( boolean build );
public abstract boolean isBuildDescr();
public abstract void setLeftMostExpr( String value );
public abstract String getLeftMostExpr();
public abstract void setHasBindings( boolean value );
public abstract boolean hasBindings();
public abstract BaseDescr conditionalOrExpression() throws RecognitionException;
public abstract ParserHelper getHelper();
public abstract boolean hasErrors();
public abstract List getErrors();
public abstract List getErrorMessages();
public abstract void enableEditorInterface();
public abstract void disableEditorInterface();
public abstract LinkedList getEditorInterface();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy