class Fast::Builder
Custom builder allow us to set a buffer name for each Node
Attributes
buffer_name[W]
Public Instance Methods
n(type, children, source_map)
click to toggle source
Generates {Node} from the given information.
@return [Node] the generated node
# File lib/fast.rb, line 127 def n(type, children, source_map) Node.new(type, children, location: source_map, buffer_name: @buffer_name) end