lookout.style.format.langs.javascript.token_unwrappers¶
Javascript specific methods to unwrap a token from its delimiters.
Module Contents¶
-
lookout.style.format.langs.javascript.token_unwrappers.unwrap_string_literal(outer_token:str)¶ Unwrap a string literal.
Parameters: outer_token – Complete token. Returns: Inner token (without delimiters), complete token.
-
lookout.style.format.langs.javascript.token_unwrappers.unwrap_use_outer_token(outer_token:str)¶ Unwrap a token that has no delimiters (noop).
Parameters: outer_token – Complete token. Returns: Inner token (without delimiters), complete token.
-
lookout.style.format.langs.javascript.token_unwrappers.TOKEN_UNWRAPPERS¶