Class: IcAgent::Ast::Nodes::IcBaseTypeFunc

Inherits:
StatementNode
  • Object
show all
Defined in:
lib/ic_agent/ast/nodes/statement_nodes.rb

Instance Attribute Summary

Attributes inherited from StatementNode

#child_count, #depth

Instance Method Summary collapse

Methods inherited from StatementNode

#add_child, #elements_to_s, #source_content, #to_array

Instance Method Details

#opt_codeObject



125
126
127
# File 'lib/ic_agent/ast/nodes/statement_nodes.rb', line 125

def opt_code
  'func'
end

#titleObject



117
118
119
# File 'lib/ic_agent/ast/nodes/statement_nodes.rb', line 117

def title
  :base_type_func
end

#to_sObject



121
122
123
# File 'lib/ic_agent/ast/nodes/statement_nodes.rb', line 121

def to_s
  elements_to_s
end