packages/okam-build/lib/processor/json/component-json.js
function analyseNativeComponent(scriptFile, options) {
    // check whether component is analysed, if true, ignore
    if (scriptFile.isAnalysedComponents) {
        return;
    }
    scriptFile.isAnalysedComponents = true;

    let {appType} = options;
    if (appType === 'quick') {
        return;
    }

    // add native component definition files
    addComponentSameNameFiles(scriptFile, options);
}
function analyseNativeComponent(scriptFile, options) {
    // check whether component is analysed, if true, ignore
    if (scriptFile.isAnalysedComponents) {
        return;
    }
    scriptFile.isAnalysedComponents = true;

    let {appType} = options;
    if (appType === 'quick') {
        return;
    }

    // add native component definition files
    addComponentSameNameFiles(scriptFile, options);
}
Analysis native component

@inner
@param {Object} scriptFile the component script file
@param {Object} options the process options