private void finishStringSection(List<StringSection> sections,StringSection currentSection,StringBuilder templateExpressions,Position lastSourcePosition,Position targetPosition){
  if (currentSection.lastSourcePosition != null) {
    return;
  }
  currentSection.lastSourcePosition=new Position(lastSourcePosition);
  sections.add(currentSection);
  append(templateExpressions,targetPosition,"out<<_s[_i=" + index++ + "];");
  currentSection.lastTargetPosition=new Position(targetPosition.row,targetPosition.column);
}

private void finishStringSection ( List < StringSection > sections , StringSection currentSection , StringBuilder templateExpressions , Position lastSourcePosition , Position targetPosition ) { if ( currentSection . lastSourcePosition != null ) { return ; } currentSection . lastSourcePosition = new Position ( lastSourcePosition ) ; sections . add ( currentSection ) ; append ( templateExpressions , targetPosition , "out<<_s[_i=" + index ++ + "];" ) ; currentSection . lastTargetPosition = new Position ( targetPosition . row , targetPosition . column ) ; }
called to handle the ending of a string section .
