Class: Simplabs::Excellent::Parsing::ConstantContext

Inherits:
SexpContext
  • Object
show all
Defined in:
lib/simplabs/excellent/parsing/constant_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) ⇒ ConstantContext

Returns a new instance of ConstantContext.



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

def initialize(exp, parent)
  super
  @name = exp[1]
end

Dynamic Method Handling

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