class IcAgent::Ast::Nodes::IcBaseTypeSingle

Represents an IC base type single 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 single node, which is 'single'.

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

The title of the IC base type single node.

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

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

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