def on_name(node, compiled_grammar)
      if compiled_grammar.name
        compiled_grammar.add_warning(
          "Overwriting existing parser name #{compiled_grammar.name.inspect}",
          node.source_line
        )
      end

      parts = node.children.map { |child| process(child, compiled_grammar) }

      compiled_grammar.name = parts.join('::')
    end
def on_name(node, compiled_grammar)
      if compiled_grammar.name
        compiled_grammar.add_warning(
          "Overwriting existing parser name #{compiled_grammar.name.inspect}",
          node.source_line
        )
      end

      parts = node.children.map { |child| process(child, compiled_grammar) }

      compiled_grammar.name = parts.join('::')
    end
Sets the name of the parser.

 @param [LL::AST::Node] node
 @param [LL::CompiledGrammar] compiled_grammar