class Phlex::Compiler::Optimizer

def optimize_element

def optimize_element
	case @node
	in Nodes::VCall
		@node.node.extend(Phlex::Compiler::Elements::VCall)
	in Nodes::FCall
		@node.node.extend(Phlex::Compiler::Elements::FCall)
	in Nodes::Command
		@node.node.extend(Phlex::Compiler::Elements::Command)
	in Nodes::MethodAddBlock
		optimize_add_method_block_element
	end
	true
end