# File lib/amrita/node.rb, line 153def each(&block)
@array.each(&block)
end
size()
# File lib/amrita/node.rb, line 157def size
@array.size
end
to_ruby()
# File lib/amrita/node.rb, line 161def to_ruby
ret = "a(" + @array.collect {|a| ":#{a.key}, #{a.value}"}.join(", ") + ")"case @body
whennil, Null
when Node
ret += body.to_ruby
else
ret += body.inspect
end
ret
end
amrita_generate_hint()
# File lib/amrita/compiler.rb, line 58def amrita_generate_hint
if body
Amrita::HtmlCompiler::AttrData[body.amrita_generate_hint]
else
Amrita::HtmlCompiler::AttrData.new
endend