Class: RailsMcpInsight::Analyzers::AstParser::ParseResult
- Inherits:
-
Struct
- Object
- Struct
- RailsMcpInsight::Analyzers::AstParser::ParseResult
- Defined in:
- lib/rails_mcp_insight/analyzers/ast_parser.rb
Overview
Represents a parsed Ruby file's structural information
Instance Attribute Summary collapse
-
#classes ⇒ Object
Returns the value of attribute classes.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#constants ⇒ Object
Returns the value of attribute constants.
-
#dsl_calls ⇒ Object
Returns the value of attribute dsl_calls.
-
#extends ⇒ Object
Returns the value of attribute extends.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#includes ⇒ Object
Returns the value of attribute includes.
-
#methods ⇒ Object
Returns the value of attribute methods.
-
#modules ⇒ Object
Returns the value of attribute modules.
Instance Attribute Details
#classes ⇒ Object
Returns the value of attribute classes
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def classes @classes end |
#comments ⇒ Object
Returns the value of attribute comments
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def comments @comments end |
#constants ⇒ Object
Returns the value of attribute constants
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def constants @constants end |
#dsl_calls ⇒ Object
Returns the value of attribute dsl_calls
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def dsl_calls @dsl_calls end |
#extends ⇒ Object
Returns the value of attribute extends
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def extends @extends end |
#file_path ⇒ Object
Returns the value of attribute file_path
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def file_path @file_path end |
#includes ⇒ Object
Returns the value of attribute includes
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def includes @includes end |
#methods ⇒ Object
Returns the value of attribute methods
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def methods @methods end |
#modules ⇒ Object
Returns the value of attribute modules
16 17 18 |
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16 def modules @modules end |