Search in sources :

Example 1 with MultiplicationAtom

use of org.apache.stanbol.rules.manager.atoms.MultiplicationAtom in project stanbol by apache.

the class RuleParserImpl method multiplicationAtom.

public final MultiplicationAtom multiplicationAtom() throws ParseException {
    NumericFunctionAtom numericFunctionAtom1;
    NumericFunctionAtom numericFunctionAtom2;
    jj_consume_token(MULTIPLIED);
    jj_consume_token(LPAR);
    numericFunctionAtom1 = numericFunctionAtom();
    jj_consume_token(COMMA);
    numericFunctionAtom2 = numericFunctionAtom();
    jj_consume_token(RPAR);
    {
        if (true)
            return new MultiplicationAtom(numericFunctionAtom1, numericFunctionAtom2);
    }
    throw new Error("Missing return statement in function");
}
Also used : MultiplicationAtom(org.apache.stanbol.rules.manager.atoms.MultiplicationAtom) NumericFunctionAtom(org.apache.stanbol.rules.manager.atoms.NumericFunctionAtom)

Aggregations

MultiplicationAtom (org.apache.stanbol.rules.manager.atoms.MultiplicationAtom)1 NumericFunctionAtom (org.apache.stanbol.rules.manager.atoms.NumericFunctionAtom)1