@Override
    public VariableExpression visitBuiltInType(BuiltInTypeContext ctx) {
        String text;
        if (asBoolean(ctx.VOID())) {
            text = ctx.VOID().getText();
        } else if (asBoolean(ctx.BuiltInPrimitiveType())) {
            text = ctx.BuiltInPrimitiveType().getText();
        } else {
            throw createParsingFailedException("Unsupported built-in type: " + ctx, ctx);
        }

        return configureAST(new VariableExpression(text), ctx);
    }
@ Override public VariableExpression visitBuiltInType ( BuiltInTypeContext ctx ) { String text ; if ( asBoolean ( ctx . VOID ( ) ) ) { text = ctx . VOID ( ) . getText ( ) ; } else if ( asBoolean ( ctx . BuiltInPrimitiveType ( ) ) ) { text = ctx . BuiltInPrimitiveType ( ) . getText ( ) ; } else { throw createParsingFailedException ( "Unsupported built-in type: " + ctx , ctx ) ; } return configureAST ( new VariableExpression ( text ) , ctx ) ; }
/*
@Override
public VariableExpression visitIdentifier(IdentifierContext ctx) {
return this.configureAST(new VariableExpression(ctx.getText()), ctx);
}