Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API documentation #4571

Closed
wants to merge 9 commits into from
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ tags
.DS_Store
Makefile
node_modules/
nbproject/
.project
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non related changes

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. My mistake. I am sorry.

9 changes: 9 additions & 0 deletions src/core/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@

'use strict';

/**
*
* @global creation of EOF blank object
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds 4 lines of the code, which brings no value to the developers. A developer can read the following single line understand that without reading previous 4 lines.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yury, please, remember that this was a preview. This was not a "final version" of how API docs comments. I have just commited this so that some of you agreed on making the API Docs.

var EOF = {};


/** @function
* @name isEOF
* @param v
* @return {boolean} true or false */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No function description, what it's for and what it does.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yury, please, remember that this was a preview. This was not a "final version" of how API docs comments. I have just commited this so that some of you agreed on making the API Docs.

function isEOF(v) {
return (v == EOF);
}
Expand Down