class IcAgent::Ast::Nodes::IcBaseTypeOpt
Represents an IC base type optional 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 optional node, which is 'opt'.
# File lib/ic_agent/ast/nodes/statement_nodes.rb, line 179 def opt_code 'opt' end
title()
click to toggle source
The title of the IC base type optional node.
# File lib/ic_agent/ast/nodes/statement_nodes.rb, line 169 def title :base_type_opt end
to_s()
click to toggle source
Converts the IC base type optional node to a string representation.
# File lib/ic_agent/ast/nodes/statement_nodes.rb, line 174 def to_s elements_to_s end