• 解析服务变量的 path

    Parameters

    • variablePath: string

    Returns {
        moduleName: undefined;
        name: undefined;
    } | {
        moduleName: string;
        name: string;
    }

    services.list => { moduleName: 'index', name: 'list' }
    
    services.sub.list => { moduleName: 'sub', name: 'list' }
    
    foo => undefined