Sha256: 4a4343554b894bf6d2f5bf62ac9b88c015172f66568f0f54e45d7522fd365bc4
Contents?: true
Size: 431 Bytes
Versions: 4
Compression:
Stored size: 431 Bytes
Contents
require File.dirname(__FILE__) + "/node_visitor" module Glimmer class NameSpaceVisitor < NodeVisitor def initialize(name_space_name) @name_space_name = name_space_name end def process_before_children(node) return if node.is_a?(String) node.name_space = Node.new(nil, @name_space_name, nil) if node and !node.name_space end def process_after_children(node) #NOOP end end end
Version data entries
4 entries across 4 versions & 1 rubygems