class IcAgent::Ast::Nodes::BaseTypeVariant
Represents a variant 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 variant base type.
# File lib/ic_agent/ast/nodes/named_nodes.rb, line 211 def opt_code 'variant' end
title()
click to toggle source
The title of the variant base type node.
# File lib/ic_agent/ast/nodes/named_nodes.rb, line 201 def title :base_type_variant end
to_s()
click to toggle source
Converts the variant base type node to a string representation.
# File lib/ic_agent/ast/nodes/named_nodes.rb, line 206 def to_s elements_to_s end