Class: KairosMcp::AstNode
- Inherits:
-
Struct
- Object
- Struct
- KairosMcp::AstNode
- Defined in:
- lib/kairos_mcp/skill_contexts.rb
Overview
Minimal AST node structure for partial formalization
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#source_span ⇒ Object
Returns the value of attribute source_span.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
109 110 111 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 109 def name @name end |
#options ⇒ Object
Returns the value of attribute options
109 110 111 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 109 def @options end |
#source_span ⇒ Object
Returns the value of attribute source_span
109 110 111 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 109 def source_span @source_span end |
#type ⇒ Object
Returns the value of attribute type
109 110 111 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 109 def type @type end |
Instance Method Details
#to_h ⇒ Object
110 111 112 113 114 115 116 117 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 110 def to_h { type: type, name: name, options: , source_span: source_span } end |