Class: RBelly::Nodes::ExtendsNode
- Defined in:
- lib/rbelly/nodes/bellejs/extends_node.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Attributes inherited from Node
#comments, #filename, #line, #value
Instance Method Summary collapse
-
#initialize(parent) ⇒ ExtendsNode
constructor
A new instance of ExtendsNode.
Methods inherited from Node
#==, #===, #each, #pointcut, #to_dots, #to_ecma, #to_real_sexp, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(parent) ⇒ ExtendsNode
Returns a new instance of ExtendsNode.
5 6 7 8 |
# File 'lib/rbelly/nodes/bellejs/extends_node.rb', line 5 def initialize(parent) super(parent) @parent = parent end |
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
4 5 6 |
# File 'lib/rbelly/nodes/bellejs/extends_node.rb', line 4 def parent @parent end |