Class: Electr::FuncArgsAST

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

Overview

A node in the AST to hold arguments of a function.

Instance Attribute Summary

Attributes inherited from AST

#children, #name, #value

Instance Method Summary collapse

Methods inherited from AST

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

Constructor Details

#initializeFuncArgsAST

Returns a new instance of FuncArgsAST.



6
7
8
# File 'lib/electr/ast/func_args_ast.rb', line 6

def initialize
  super("funcargs")
end