You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: children_compiler.rb
    path of file: ./repos/hamlit/lib/hamlit/compiler
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require 'hamlit/temple_line_counter'

module Hamlit
  class Compiler
    class ChildrenCompiler
     
    
      def moving_lineno(node, &block)
        # before: As they may have children, we need to increment lineno before compilation.
        case node.type
        when :script, :silent_script
          @lineno += 1
        when :tag
          [node.value[:dynamic_attributes].new, node.value[:dynamic_attributes].old].compact.each do |attribute_hash|
            @lineno += attribute_hash.count("\n")
          end
          @lineno += 1 if node.children.empty? && node.value[:parse]
        end