Class: RailsMcpInsight::Analyzers::AstParser::ParseResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_mcp_insight/analyzers/ast_parser.rb

Overview

Represents a parsed Ruby file's structural information

Instance Attribute Summary collapse

Instance Attribute Details

#classesObject

Returns the value of attribute classes

Returns:

  • (Object)

    the current value of classes



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def classes
  @classes
end

#commentsObject

Returns the value of attribute comments

Returns:

  • (Object)

    the current value of comments



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def comments
  @comments
end

#constantsObject

Returns the value of attribute constants

Returns:

  • (Object)

    the current value of constants



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def constants
  @constants
end

#dsl_callsObject

Returns the value of attribute dsl_calls

Returns:

  • (Object)

    the current value of dsl_calls



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def dsl_calls
  @dsl_calls
end

#extendsObject

Returns the value of attribute extends

Returns:

  • (Object)

    the current value of extends



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def extends
  @extends
end

#file_pathObject

Returns the value of attribute file_path

Returns:

  • (Object)

    the current value of file_path



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def file_path
  @file_path
end

#includesObject

Returns the value of attribute includes

Returns:

  • (Object)

    the current value of includes



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def includes
  @includes
end

#methodsObject

Returns the value of attribute methods

Returns:

  • (Object)

    the current value of methods



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def methods
  @methods
end

#modulesObject

Returns the value of attribute modules

Returns:

  • (Object)

    the current value of modules



16
17
18
# File 'lib/rails_mcp_insight/analyzers/ast_parser.rb', line 16

def modules
  @modules
end