firedoc
Version:
API Doc generator rewritten from [YUIDoc](https://github.com/yui/yuidoc). We use this tool to document a large JavaScript game engine [Fireball](http://github.com/fireball-x/fireball) at [docs-zh.fireball-x.com/api](http://docs-zh.fireball-x.com/api/) and
149 lines (80 loc) • 4.64 kB
Markdown
test
Module: [firedoc](../modules/firedoc.md)
- [`IGNORE_TAGLIST`](
likely to be used for purposes other than JSDoc tags in JavaScript comments.
- [`CORRECTIONS`](
- [`TAGLIST`](
during initialization, and will be updated if additional
digesters are added.
- [`DIGESTERS`](
tag name. Multiple tags can use the same digester
by supplying the string name that points to the
implementation rather than a function.
- [`implodeString`](
- [`implodeString`](
- [`stringlog`](
filename and line number: `/file/name.js:123`
> A list of ignored tags. These tags should be ignored because there is
likely to be used for purposes other than JSDoc tags in JavaScript comments.
| meta | description |
|------|-------------|
| Type | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> |
| Defined | [lib/ast.js:31](../files/lib_ast.js.md
> Common errors will get scrubbed instead of being ignored.
| meta | description |
|------|-------------|
| Type | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> |
| Defined | [lib/ast.js:41](../files/lib_ast.js.md
> A list of known tags. This populates a member variable
during initialization, and will be updated if additional
digesters are added.
| meta | description |
|------|-------------|
| Type | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> |
| Defined | [lib/ast.js:78](../files/lib_ast.js.md
> A map of the default tag processors, keyed by the
tag name. Multiple tags can use the same digester
by supplying the string name that points to the
implementation rather than a function.
| meta | description |
|------|-------------|
| Type | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> |
| Defined | [lib/ast.js:529](../files/lib_ast.js.md
<!-- Method Block -->
Flatten a string, remove all line breaks and replace them with a token
| meta | description |
|------|-------------|
| Defined | [lib/ast.js:1066](../files/lib_ast.js.md
| Return | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>
- str <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> The string to operate on
Un-flatten a string, replace tokens injected with `implodeString`
| meta | description |
|------|-------------|
| Defined | [lib/ast.js:1077](../files/lib_ast.js.md
| Return | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>
- str <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> The string to operate on
Parses the JSON data and formats it into a nice log string for
filename and line number: `/file/name.js:123`
| meta | description |
|------|-------------|
| Defined | [lib/utils.js:417](../files/lib_utils.js.md
| Return | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a>
- data <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> The data block from the parser