@Override
    public boolean preTransfer(StateMachine sm, LexicalElement input) {

        boolean ret = true;

        switch (input) {
            case CHUNK_MATERIAL:
                MQOData data = sm.getMqodata();
                ArrayList<MQOMaterial> materials = data.getMaterials();
                sm.push(materials);
                break;
            case PAREN_CHUNK_BEGIN:
                break;
            case ENTER_CODE:
                break;
            case BYTE_ARRAY:
                break;
            case FLOAT:
                break;
            case INT:
                break;
            case PAREN_CHUNK_END:
                break;
            default:
                break;
        }

        return ret;
    }