class IcAgent::Ast::Nodes::BaseTypeSingle

Represents a single 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 single base type.

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

The title of the single base type node.

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

Converts the single base type node to a string representation.

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