1.0.2 • Published 2 years ago

nv-js-prod-param v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nv-js-prod-param

  • nv-js-prod-param
  • code from @babel/parser ProductionParamHandler
  • for reusing in nvlang

install

  • npm install nv-js-prod-param

usage

API

  • PARAM
  • PARAM_YIELD
  • PARAM_AWAIT
  • PARAM_RETURN
  • PARAM_IN
  • functionFlags(isAsync, isGenerator)
  • ProductionParameterHandler()

METHODS

    o.enter
    o.exit
    o.currentFlags

    //getter
    o.hasAwait 
    o.hasIn
    o.hasReturn
    o.hasYield

    //special flag
    o.___dont_copy___

LICENSE

  • ISC