Class: Resyma::ActionEnvironment
- Inherits:
-
Object
- Object
- Resyma::ActionEnvironment
- Defined in:
- lib/resyma/language.rb
Instance Attribute Summary collapse
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
-
#src_binding ⇒ Object
readonly
Returns the value of attribute src_binding.
-
#src_filename ⇒ Object
readonly
Returns the value of attribute src_filename.
-
#src_lineno ⇒ Object
readonly
Returns the value of attribute src_lineno.
Instance Method Summary collapse
-
#initialize(nodes, binding, filename, lineno) ⇒ ActionEnvironment
constructor
A new instance of ActionEnvironment.
Constructor Details
#initialize(nodes, binding, filename, lineno) ⇒ ActionEnvironment
Returns a new instance of ActionEnvironment.
121 122 123 124 125 126 |
# File 'lib/resyma/language.rb', line 121 def initialize(nodes, binding, filename, lineno) @nodes = nodes @src_binding = binding @src_filename = filename @src_lineno = lineno end |
Instance Attribute Details
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
128 129 130 |
# File 'lib/resyma/language.rb', line 128 def nodes @nodes end |
#src_binding ⇒ Object (readonly)
Returns the value of attribute src_binding.
128 129 130 |
# File 'lib/resyma/language.rb', line 128 def src_binding @src_binding end |
#src_filename ⇒ Object (readonly)
Returns the value of attribute src_filename.
128 129 130 |
# File 'lib/resyma/language.rb', line 128 def src_filename @src_filename end |
#src_lineno ⇒ Object (readonly)
Returns the value of attribute src_lineno.
128 129 130 |
# File 'lib/resyma/language.rb', line 128 def src_lineno @src_lineno end |