You are here

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

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.2 advagg_js_compress/jsminplus.inc \JSTokenizer::peekOnSameLine()

File

advagg_js_compress/jsminplus.inc, line 1990

Class

JSTokenizer

Code

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