Function __global->parse_single_comcode_tag
Definitions
sources/comcode_compiler.php
- Parse a single tag. For use separately, not used by main parser.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$data | string | required parameter | N/A | N/A | The data being parsed |
$tag | string | \w+ | N/A | N/A | The tag we're expecting to see here / a regexp |
Return
- A map of parsed attributes
- Type: array
- Set: N/A
- Range: N/A