class IcAgent::Ast::Nodes::IcBaseTypeFunc

Represents an IC base type function node in the abstract syntax tree, a subclass of StatementNode.

Public Instance Methods

opt_code() click to toggle source

Returns the opt code for the IC base type function node, which is 'func'.

# File lib/ic_agent/ast/nodes/statement_nodes.rb, line 161
def opt_code
  'func'
end
title() click to toggle source

The title of the IC base type function node.

# File lib/ic_agent/ast/nodes/statement_nodes.rb, line 151
def title
  :base_type_func
end
to_s() click to toggle source

Converts the IC base type function node to a string representation.

# File lib/ic_agent/ast/nodes/statement_nodes.rb, line 156
def to_s
  elements_to_s
end