Search in sources :

Example 1 with TypeNode

use of org.kie.dmn.feel.lang.ast.TypeNode in project drools by kiegroup.

the class ASTBuilderVisitor method visitRelExpressionInstanceOf.

@Override
public BaseNode visitRelExpressionInstanceOf(FEEL_1_1Parser.RelExpressionInstanceOfContext ctx) {
    BaseNode expr = visit(ctx.val);
    TypeNode type = (TypeNode) visit(ctx.type());
    return ASTBuilderFactory.newInstanceOfNode(ctx, expr, type);
}
Also used : BaseNode(org.kie.dmn.feel.lang.ast.BaseNode) TypeNode(org.kie.dmn.feel.lang.ast.TypeNode)

Aggregations

BaseNode (org.kie.dmn.feel.lang.ast.BaseNode)1 TypeNode (org.kie.dmn.feel.lang.ast.TypeNode)1