| | |
| | | module.exports.approve = () => true; |
| | | |
| | | /** |
| | | * Returns plugin function. |
| | | * @param {boolean} value the boolean value |
| | | * @returns {(expression: Expression) => BasicEvaluatedExpression} plugin function |
| | | */ |
| | |
| | | }; |
| | | |
| | | /** |
| | | * Returns callback. |
| | | * @param {string} identifier identifier |
| | | * @param {string} rootInfo rootInfo |
| | | * @param {GetMembers} getMembers getMembers |
| | |
| | | }; |
| | | |
| | | /** |
| | | * Returns plugin function. |
| | | * @param {number} value the number value |
| | | * @returns {(expression: Expression) => BasicEvaluatedExpression} plugin function |
| | | */ |
| | |
| | | }; |
| | | |
| | | /** |
| | | * Returns plugin function. |
| | | * @param {string} value the string value |
| | | * @returns {(expression: Expression) => BasicEvaluatedExpression} plugin function |
| | | */ |
| | |
| | | }; |
| | | |
| | | /** |
| | | * Returns callback to handle unsupported expression. |
| | | * @param {JavascriptParser} parser the parser |
| | | * @param {string} message the message |
| | | * @returns {(expression: Expression) => boolean | undefined} callback to handle unsupported expression |
| | |
| | | module.exports.skipTraversal = () => true; |
| | | |
| | | /** |
| | | * Returns plugin function. |
| | | * @param {JavascriptParser} parser the parser |
| | | * @param {string} value the const value |
| | | * @param {(string[] | null)=} runtimeRequirements runtime requirements |