Fireball is the game engine for the future.
Defined in: lib/ast.js:65
Module: firedoc
The AST(Abstract syntax tree) of the comment
project
Object
About the projectfiles
Object
The filescodes
Object
The source codesmodules
Object
The modulesclasses
Object
The classesmembers
Array
The membersinheritedMembers
Array
The inherited membersnamespacesMap
Object
The namespaces map objectcommentsMap
Object
The comments map objectsyntaxType
String
The syntax typecontext
Context
The context object
create
Create a AST objectreset
Reset the AST instanceoncomment
onblock
Processes all the tags in a single comment blockontag
Process tagextract
Accepts a map of filenames to file content. Returns a map of filenames to an array of API comment block text. This expects the comment to start with / ** on its own line, and end with * / on its own line. Override this function to provide an alternative comment parser.transform
Transforms a map of filenames to arrays of comment blocks into a JSON structure that represents the entire processed API doc info and relationships between elements for the entire project.
About the project
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:72 |
The files
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:77 |
The source codes
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:82 |
The modules
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:87 |
The classes
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:92 |
The members
meta | description |
---|---|
Type | Array |
Defined | lib/ast.js:97 |
The inherited members
meta | description |
---|---|
Type | Array |
Defined | lib/ast.js:102 |
The namespaces map object
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:107 |
The comments map object
meta | description |
---|---|
Type | Object |
Defined | lib/ast.js:112 |
The syntax type
meta | description |
---|---|
Type | String |
Defined | lib/ast.js:117 |
The context object
meta | description |
---|---|
Type | Context |
Defined | lib/ast.js:122 |
Create a AST object
meta | description |
---|---|
Defined | lib/ast.js:132 |
Return | AST |
Reset the AST instance
meta | description |
---|---|
Defined | lib/ast.js:151 |
meta | description |
---|---|
Defined | lib/ast.js:174 |
Return | Object |
Processes all the tags in a single comment block
meta | description |
---|---|
Defined | lib/ast.js:244 |
- an Array array of the tag/text pairs
Process tag
meta | description |
---|---|
Defined | lib/ast.js:327 |
Accepts a map of filenames to file content. Returns a map of filenames to an array of API comment block text. This expects the comment to start with / ** on its own line, and end with * / on its own line. Override this function to provide an alternative comment parser.
meta | description |
---|---|
Defined | lib/ast.js:383 |
Transforms a map of filenames to arrays of comment blocks into a JSON structure that represents the entire processed API doc info and relationships between elements for the entire project.
meta | description |
---|---|
Defined | lib/ast.js:423 |
Return | Object |
- commentmap Object The hash of files and parsed comment blocks