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