Class: Simplabs::Excellent::Parsing::UntilContext

Inherits:
SexpContext
  • Object
show all
Defined in:
lib/simplabs/excellent/parsing/until_context.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from SexpContext

#file, #line, #name, #parent

Instance Method Summary collapse

Methods inherited from SexpContext

#full_name, #method_missing

Constructor Details

#initialize(exp, parent) ⇒ UntilContext

Returns a new instance of UntilContext.



9
10
11
12
# File 'lib/simplabs/excellent/parsing/until_context.rb', line 9

def initialize(exp, parent)
  super
  @contains_assignment = has_assignment?
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Simplabs::Excellent::Parsing::SexpContext

Instance Method Details

#tests_assignment?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/simplabs/excellent/parsing/until_context.rb', line 14

def tests_assignment?
  @contains_assignment
end