Class: AsciiMath::AST::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/asciimath/ast.rb

Direct Known Subclasses

Empty, InnerNode, ValueNode

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNode

Returns a new instance of Node.



73
74
75
# File 'lib/asciimath/ast.rb', line 73

def initialize
  @parent = nil
end

Instance Attribute Details

#parentObject

Returns the value of attribute parent.



71
72
73
# File 'lib/asciimath/ast.rb', line 71

def parent
  @parent
end