Renamed prop_parse.{parse => parseKeywords}
parent
499e1c32db
commit
828a366f29
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* @return {{name: string, keywords: Object.<string, boolean>}}
|
* @return {{name: string, keywords: Object.<string, boolean>}}
|
||||||
*/
|
*/
|
||||||
exports.parse = function ( prop )
|
exports.parseKeywords = function ( prop )
|
||||||
{
|
{
|
||||||
var name = prop,
|
var name = prop,
|
||||||
keywords = [],
|
keywords = [],
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* @package core
|
* @package core
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var propParse = require( './prop_parser' ).parse;
|
var propParseKeywords = require( './prop_parser' ).parseKeywords;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -156,7 +156,7 @@ exports.propParse = function( data, options )
|
||||||
callback_method = options.method || fvoid,
|
callback_method = options.method || fvoid,
|
||||||
callback_getter = options.getter || fvoid,
|
callback_getter = options.getter || fvoid,
|
||||||
callback_setter = options.setter || fvoid,
|
callback_setter = options.setter || fvoid,
|
||||||
keyword_parser = options.keywordParser || propParse,
|
keyword_parser = options.keywordParser || propParseKeywords,
|
||||||
|
|
||||||
hasOwn = Object.prototype.hasOwnProperty,
|
hasOwn = Object.prototype.hasOwnProperty,
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
var common = require( './common' ),
|
var common = require( './common' ),
|
||||||
assert = require( 'assert' ),
|
assert = require( 'assert' ),
|
||||||
parse = common.require( 'prop_parser' ).parse;
|
parse = common.require( 'prop_parser' ).parseKeywords;
|
||||||
|
|
||||||
|
|
||||||
var data = parse( 'final static abstract foo' ),
|
var data = parse( 'final static abstract foo' ),
|
Loading…
Reference in New Issue