Class: IcAgent::Ast::Nodes::BaseTypeVariant

Inherits:
NamedNode
  • Object
show all
Defined in:
lib/ic_agent/ast/nodes/named_nodes.rb

Instance Method Summary collapse

Methods inherited from NamedNode

#elements_to_s, #to_array

Instance Method Details

#opt_codeObject



166
167
168
# File 'lib/ic_agent/ast/nodes/named_nodes.rb', line 166

def opt_code
  'variant'
end

#titleObject



158
159
160
# File 'lib/ic_agent/ast/nodes/named_nodes.rb', line 158

def title
  :base_type_variant
end

#to_sObject



162
163
164
# File 'lib/ic_agent/ast/nodes/named_nodes.rb', line 162

def to_s
  elements_to_s
end