You are here

public function JSTokenizer::peekOnSameLine in Advanced CSS/JS Aggregation 7.2

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSTokenizer::peekOnSameLine()
  2. 8.2 advagg_js_minify/jsminplus.inc \JSTokenizer::peekOnSameLine()
  3. 8.3 advagg_js_minify/jsminplus.inc \JSTokenizer::peekOnSameLine()
  4. 6 advagg_js_compress/jsminplus.inc \JSTokenizer::peekOnSameLine()
  5. 7 advagg_js_compress/jsminplus.inc \JSTokenizer::peekOnSameLine()

File

advagg_js_compress/jsminplus.inc, line 2007
JSMinPlus version 1.4

Class

JSTokenizer

Code

public function peekOnSameLine() {
  $this->scanNewlines = true;
  $tt = $this
    ->peek();
  $this->scanNewlines = false;
  return $tt;
}