Module rslint_parser::util[][src]

Expand description

Extra utlities for untyped syntax nodes, syntax tokens, and AST nodes.

Structs

Enums

Traits

Extensions to rowan’s SyntaxNode

Functions

Colors a piece of source code using ANSI.
The string returned will be unaltered if stdout and stderr are not terminals.

Concatenate tokens into a string

Check whether a string contains a valid js linebreak consisting of any of these characters: \n, \r, \u{2028}, or \u{2029}

Check whether a string contains a valid js whitespace character