Class: Grammar::Ruby::Code::SharedSteps

Inherits:
Steps show all
Defined in:
lib/grammar/ruby/code.rb

Constant Summary

Constants inherited from Grammar::Ruby::Code

False, FalseTerminator, Implicit, Nil, Self, True

Instance Method Summary collapse

Methods inherited from Steps

#_always, #_never, #_operator, #_operator0, #_rstep, new

Methods inherited from List

#_always, #_codes, #_lines, #_never, #_operator, #_operator0, #_paren, #initialize

Methods inherited from Grammar::Ruby::Code

[], #_always, #_and, #_assign, #_classname, #_code_self, #_codes, #_data, #_def, #_dot, #_else, #_ensure, #_equal, #_immediate, #_inspect, #_lines, #_locals, #_never, #_or, #_question, #_rand, #_rcond, #_rescue, #_ror, #_rstep, #_splat, #_to_block, #_unless, #_until, #_while, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Grammar::Ruby::Code::List

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Grammar::Ruby::Code

Instance Method Details

#_mid(before) ⇒ Object



644
645
646
# File 'lib/grammar/ruby/code.rb', line 644

def _mid(before)
    Steps.new(@operands.clone)._mid(before)
end

#_notObject



650
651
652
# File 'lib/grammar/ruby/code.rb', line 650

def _not
    Steps.new(@operands.clone)._not
end

#_step(after) ⇒ Object



647
648
649
# File 'lib/grammar/ruby/code.rb', line 647

def _step(after)
    Steps.new(@operands.clone)._step(after)
end