class Phlex::Compiler::Visitors::ViewMethod

def optimized_something?

def optimized_something?
	!!@optimized_something
end

def visit_command(node)

def visit_command(node)
Phlex::Compiler::Optimizer.new(
iler::Nodes::Command.new(node),
compiler
.call
something = true

def visit_fcall(node)

def visit_fcall(node)
Phlex::Compiler::Optimizer.new(
iler::Nodes::FCall.new(node),
compiler
.call
something = true

def visit_method_add_block(node)

def visit_method_add_block(node)
 if node.call.is_a?(SyntaxTree::Call)
Phlex::Compiler::Optimizer.new(
iler::Nodes::MethodAddBlock.new(node),
compiler
.call
something = true

def visit_vcall(node)

def visit_vcall(node)
Phlex::Compiler::Optimizer.new(
iler::Nodes::VCall.new(node),
compiler
.call
something = true