src/cordova/metadata/parser.js
function Parser (platform, projectPath) {

    this.platform = platform || '';
    this.path = projectPath || '';

    // Extend with a ParserHelper instance
    Object.defineProperty(this, 'helper', {
        value: new ParserHelper(this.platform),
        enumerable: true,
        configurable: false,
        writable: false
    });

}
function Parser (platform, projectPath) {

    this.platform = platform || '';
    this.path = projectPath || '';

    // Extend with a ParserHelper instance
    Object.defineProperty(this, 'helper', {
        value: new ParserHelper(this.platform),
        enumerable: true,
        configurable: false,
        writable: false
    });

}
function Parser ( platform , projectPath ) { this . platform = platform || '' ; this . path = projectPath || '' ; // Extend with a ParserHelper instance Object . defineProperty ( this , 'helper' , { value : new ParserHelper ( this . platform ) , enumerable : true , configurable : false , writable : false } ) ; }
Base module for platform parsers

@param {String} [platform]    Platform name (e.g. android)
@param {String} [projectPath] path/to/platform/project
Base module for platform parsers