Class: Electr::FuncAST
Overview
A node in the AST to represent a function.
Instance Attribute Summary
Attributes inherited from AST
Instance Method Summary collapse
-
#initialize ⇒ FuncAST
constructor
A new instance of FuncAST.
Methods inherited from AST
#add_child, #display, #leaf?, #size, #to_pn
Constructor Details
#initialize ⇒ FuncAST
Returns a new instance of FuncAST.
6 7 8 |
# File 'lib/electr/ast/func_ast.rb', line 6 def initialize super("func") end |