if (context.getChildCount() == 2
&& context.getChild(0) instanceof TerminalNode
&& PREFIX_OPERATOR_MAP.containsKey(
((TerminalNode) context.getChild(0)).getSymbol().getType())) {
PrefixExpression prefixExpression = createNode(context, PrefixExpression.class);
prefixExpression.setOperator(
PREFIX_OPERATOR_MAP.get(((TerminalNode) context.getChild(0)).getSymbol().getType()));
ExpressionContext expressionContext = getChild(context, ExpressionContext.class);
if (expressionContext != null) {
prefixExpression.setExpression(
getAdapter(ExpressionAdapter.class).adapt(expressionContext));
}
return prefixExpression;
}