Class: IcAgent::Ast::Nodes::IcBaseTypeVariant
- Inherits:
-
StatementNode
- Object
- Treetop::Runtime::SyntaxNode
- StatementNode
- IcAgent::Ast::Nodes::IcBaseTypeVariant
show all
- Defined in:
- lib/ic_agent/ast/nodes/statement_nodes.rb
Instance Attribute Summary
#child_count, #depth
Instance Method Summary
collapse
#add_child, #elements_to_s, #source_content, #to_array
Instance Method Details
#opt_code ⇒ Object
111
112
113
|
# File 'lib/ic_agent/ast/nodes/statement_nodes.rb', line 111
def opt_code
'variant'
end
|
#title ⇒ Object
103
104
105
|
# File 'lib/ic_agent/ast/nodes/statement_nodes.rb', line 103
def title
:base_type_variant
end
|
#to_s ⇒ Object
107
108
109
|
# File 'lib/ic_agent/ast/nodes/statement_nodes.rb', line 107
def to_s
elements_to_s
end
|