nl_tokens: Detects the value of an option at the tree node . This option is treated as true by default but any trailing space would invalidate it .
pl_tokens: function ( ast ) { let detected = [ ] ; var lastChild = ast . last ( ) ; if ( lastChild . is ( 'space' ) && lastChild . content !== '\n' && lastChild . content . match ( / ^[ \n\t]+$ / ) ) { detected . push ( false ) ; } ast . traverseByType ( 'space' , function ( <mask> ) { if ( space . content . match ( / [ \t]\n / ) ) detected . push ( false ) ; } ) ; return detected ; }