nl_tokens: callback ( isok err )
pl_tokens: function checkType ( obj , callback , root ) { if ( obj . type == 'type' ) { if ( ! isTypeString ( obj . name ) ) { callback ( false , 'global type ' + obj . name + ': The first letter should be capitalized.' ) ; return false ; } if ( ! base . isType ( obj . name , root ) ) { callback ( false , 'global type ' + obj . name + ': ' + obj . <mask> + ' not defined.' ) ; return false ; } } return true ; }