Search in sources :

Example 11 with UnaryExpr

use of com.github.javaparser.ast.expr.UnaryExpr in project checker-framework by typetools.

the class DoubleJavaParserVisitor method visit.

@Override
public void visit(final UnaryExpr node1, final Node other) {
    UnaryExpr node2 = (UnaryExpr) other;
    defaultAction(node1, node2);
    node1.getExpression().accept(this, node2.getExpression());
}
Also used : UnaryExpr(com.github.javaparser.ast.expr.UnaryExpr)

Aggregations

UnaryExpr (com.github.javaparser.ast.expr.UnaryExpr)11 Expression (com.github.javaparser.ast.expr.Expression)8 BinaryExpr (com.github.javaparser.ast.expr.BinaryExpr)6 MethodCallExpr (com.github.javaparser.ast.expr.MethodCallExpr)6 EnclosedExpr (com.github.javaparser.ast.expr.EnclosedExpr)5 NameExpr (com.github.javaparser.ast.expr.NameExpr)5 StringLiteralExpr (com.github.javaparser.ast.expr.StringLiteralExpr)5 TypedExpression (org.drools.modelcompiler.builder.generator.TypedExpression)5 DrlxExpression (org.drools.mvel.parser.ast.expr.DrlxExpression)5 HalfBinaryExpr (org.drools.mvel.parser.ast.expr.HalfBinaryExpr)5 FieldAccessExpr (com.github.javaparser.ast.expr.FieldAccessExpr)4 NullLiteralExpr (com.github.javaparser.ast.expr.NullLiteralExpr)4 DrlNameExpr (org.drools.mvel.parser.ast.expr.DrlNameExpr)4 NodeList (com.github.javaparser.ast.NodeList)3 CharLiteralExpr (com.github.javaparser.ast.expr.CharLiteralExpr)3 DoubleLiteralExpr (com.github.javaparser.ast.expr.DoubleLiteralExpr)3 LiteralExpr (com.github.javaparser.ast.expr.LiteralExpr)3 ObjectCreationExpr (com.github.javaparser.ast.expr.ObjectCreationExpr)3 NodeWithArguments (com.github.javaparser.ast.nodeTypes.NodeWithArguments)3 ArrayList (java.util.ArrayList)3