code: func maybeEmitText(l *lexer, backup int) {
  	if l.pos-ast.Pos(backup) > l.start {
  		l.pos -= ast.Pos(backup)
  		if allSpaceWithNewline(l.input[l.start:l.pos]) {
  			l.ignore()
  		} else {
  			l.emit(itemText)
  		}
  		l.pos += ast.Pos(backup)
  	}
  }
docs: // State functions ------------------------------------------------------------