{"name":"jsdoc-inline-lex","version":"1.0.0","description":"lex inline tags from jsdoc text","main":"index.js","scripts":{"test":"tape test.js"},"keywords":["jsdoc","inline","lex","tag"],"author":{"name":"Tom MacWright"},"license":"ISC","devDependencies":{"tape":"^4.0.0"},"gitHead":"1d8f213010d9e4b6fc2fba198ce99f03e5b80328","_id":"jsdoc-inline-lex@1.0.0","_shasum":"39dd4d2322ae530e6cfb9e6eb99316de02dae514","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.36","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"39dd4d2322ae530e6cfb9e6eb99316de02dae514","tarball":"http://registry-npm.ywwl.com/jsdoc-inline-lex/download/jsdoc-inline-lex-1.0.0.tgz","integrity":"sha512-1TY/GuxRizlr81c4ygC4vy3YRkreJHRaNpVt7NfICISFAOcFmrDILRsthEqZf19x5i9sqtlEoEtLGEFfKQMerg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNUAUoalK/aRA0tFt39zaWiVdrMa8rXg6/yBWW/EslzwIhAPVzImC8HSSf0aN1EzvRGLol+PTVAD9B65yNz22vAUCG"}],"size":2010,"noattachment":false,"key":"/jsdoc-inline-lex/-/jsdoc-inline-lex-1.0.0.tgz"},"directories":{},"readme":"# `lex`\n\nLex tokens out of a string input that represents some JSDoc-embedded\ntext.\n\n| name | description |\n| ---- | ----------- |\n| `text` | input text. |\n\n## Examples\n\n```js\nvar result = lex('See {@link MyClass}.');\n// returns\nresult = [\n  {\n    \"type\": \"text\",\n    \"capture\": [\n      \" See \"\n    ]\n  },\n  {\n    \"type\": \"link\",\n    \"capture\": [\n      \"{@link MyClass}\",\n      \"MyClass\"\n    ]\n  },\n  {\n    \"type\": \"text\",\n    \"capture\": [\n      \".\\n\"\n    ]\n  }\n];\n```\n\nReturns  array of lexed tokens.\n","publish_time":1429117537432,"_cnpm_publish_time":1429117537432,"dist-tags":{"latest":"1.0.1"}}