Skip to content

Instantly share code, notes, and snippets.

Michael Leahy typhonrt

Block or report user

Report or block typhonrt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@typhonrt
typhonrt / ParamParser.js->guessParams
Created Jun 10, 2016
Fixes ESDoc issue #295 as ArrayPattern wasn't being parsed.
View ParamParser.js->guessParams
static guessParams(params) {
let _params = [];
for (let i = 0; i < params.length; i++) {
let param = params[i];
let result = {};
switch (param.type) {
case 'Identifier':
// e.g. func(a){}
result.name = param.name;
You can’t perform that action at this time.