nl_tokens: Function to retrieve the source code text being linted . Returns the complete source code if no node specified
pl_tokens: function ( node , beforeCount , afterCount ) { let sourceCodeText = this . text ; if ( node ) { if ( astUtils . isASTNode ( node ) ) { return this . text . slice ( Math . max ( 0 , node . start - ( Math . abs ( beforeCount ) || 0 ) ) , node . <mask> + ( Math . abs ( afterCount ) || 0 ) ) ; } throw new Error ( "Invalid Node object" ) ; } return sourceCodeText ; }