class IcAgent::Ast::Nodes::BaseTypeFunc

Represents a function base type node in the abstract syntax tree, a subclass of BaseType.

Public Instance Methods

opt_code() click to toggle source

Returns the opt code for the function base type.

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

The title of the function base type node.

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

Converts the function base type node to a string representation.

# File lib/ic_agent/ast/nodes/named_nodes.rb, line 224
def to_s
  elements_to_s
end