Removing ugly looking jsdoc comment
This commit is contained in:
31
lib/types.js
31
lib/types.js
@@ -1,34 +1,20 @@
|
||||
/**
|
||||
* Convert a color to message string
|
||||
* @function color
|
||||
* @param {string|number} value Color to convert
|
||||
* @return {string} Converted color
|
||||
*/
|
||||
//Return the color in netbeans format
|
||||
//A color can be a number (RRGGBB), a name or nothing
|
||||
function color (value) {
|
||||
"use strict";
|
||||
|
||||
return value ? value : "none";
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a boolean value to message string
|
||||
* @function bool
|
||||
* @param {bool} value Boolean to convert
|
||||
* @return {string} Converted boolean
|
||||
*/
|
||||
//Return the boolean value in ntebeans format
|
||||
function bool (value) {
|
||||
"use strict";
|
||||
|
||||
return value ? "T" : "F";
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a position to message string
|
||||
* @function position
|
||||
* @param {number} line Line of position starting with 1
|
||||
* @param {number} col Column of position starting with 0
|
||||
* @return {string} Converted position
|
||||
*/
|
||||
//Return position in netbeans format.
|
||||
//A position can be an array containing 1 based line and 0 based column or a 0 based offset
|
||||
function position (pos) {
|
||||
"use strict";
|
||||
|
||||
@@ -40,12 +26,7 @@ function position (pos) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a string to message string
|
||||
* @function string
|
||||
* @param {string} value String to convert
|
||||
* @return {string} Converted string
|
||||
*/
|
||||
//Return a netbeans formated string
|
||||
function string (value) {
|
||||
"use strict";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user