Class: Electr::RootAST

Inherits:
AST
  • Object
show all
Defined in:
lib/electr/ast/root_ast.rb

Instance Method Summary collapse

Methods inherited from AST

#add_child, #display, #leaf?, #size, #to_pn

Constructor Details

#initializeRootAST

Returns a new instance of RootAST.



5
6
7
# File 'lib/electr/ast/root_ast.rb', line 5

def initialize
  super("root")
end