nl_tokens: Returns true if regex parens should be used for sets . If the parent type is not brace then we re on a root node which means we should never expand segments and open / close braces should be {} ( since this indicates a brace is missing from the set )
pl_tokens: function isOptimized ( node , options ) { if ( node . parent . isOptimized ) return true ; return isType ( <mask> . parent , 'brace' ) && ! isEscaped ( node . parent ) && options . expand !== true ; }