private void FlushTrivias(ScriptNode element, bool isBefore) { if (_isKeepTrivia && _trivias.Count > 0 && !(element is ScriptBlockStatement)) { element.AddTrivias(_trivias, isBefore); _trivias.Clear(); } }