Function __global->js_mention_undeclared_variables
Definitions
sources/webstandards_js_lint.php
- Put out a warning if a variable was not declared.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $identifier | string | No | No | required parameter | N/A | N/A | The variable name |
| $c_pos | integer | No | No | required parameter | N/A | N/A | Current parse position |
Preview
Code (PHP)
/**
* Put out a warning if a variable was not declared.
*
* @param string $identifier The variable name
* @param integer $c_pos Current parse position
*/
function js_mention_undeclared_variables(string $identifier, int $c_pos)
* Put out a warning if a variable was not declared.
*
* @param string $identifier The variable name
* @param integer $c_pos Current parse position
*/
function js_mention_undeclared_variables(string $identifier, int $c_pos)
