Go to the source code of this file.
◆ dom_whitespace_op
Enumerator |
---|
DOM_WHITESPACE_STRIP_LEADING | |
DOM_WHITESPACE_STRIP_TRAILING | |
DOM_WHITESPACE_STRIP | |
DOM_WHITESPACE_COLLAPSE | |
DOM_WHITESPACE_STRIP_COLLAPSE | |
◆ _dom_exception_from_lwc_error()
Convert a lwc_error to a dom_exception
- Parameters
-
- Returns
- the dom_exception
◆ dom_string_whitespace_op()
Perform whitespace operations on given string
- Parameters
-
s | Given string |
op | Whitespace operation(s) to perform |
ret | New string with whitespace ops performed. Caller owns ref |
- Returns
- DOM_NO_ERR on success.
- Note
- Right now, will return DOM_NOT_SUPPORTED_ERR if ascii_only is false.