nl_tokens: function isStaticStruct ( name root ) { var obj = getGlobalObj ( name root ) ; if ( obj ! = undefined ) { if ( obj . type == static ) { return true ; } if ( obj . type == struct ) { for ( var i = 0 ; i < obj . val . length ; ++ i ) { if ( isBaseType ( obj . val [ i ] . type )) { if ( ! ( obj . val [ i ] . hasOwnProperty ( type2 ) && obj . val [ i ] . type2 == primary )) { return false ; } } else { if ( !isStaticStruct ( obj . val [ i ] . type root )) { return false ; } } } return true ; } } return false ; }
pl_tokens: function getStructMemberType ( membername , structname , root ) { var obj = getGlobalObj ( structname , root ) ; if ( obj != undefined ) { if ( obj . type == 'message' || obj . type == 'struct' || obj . type == 'static' ) { for ( var i = 0 ; i < obj . val . length ; ++ i ) { if ( obj . val [ i ] . name . name == membername ) { return obj . val [ i ] . <mask> ; } } } } return undefined ; }