class
Analyzer::Elixir::Phoenix
- Analyzer::Elixir::Phoenix
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/elixir/elixir_phoenix.crInstance Method Summary
- #analyze
- #extract_controller_params
- #extract_params_from_controller(content : String, controller_name : String, controller_path : String)
- #extract_params_from_function_block(lines : Array(String), start_index : Int32, end_index : Int32, method : String) : Array(Param)
- #find_function_end(lines : Array(String), start_index : Int32) : Int32
- #line_to_endpoint(line : String, file_path : String) : Array(Endpoint)
- #should_extract_params_for_endpoint?(endpoint : Endpoint, controller_name : String, action_name : String) : Bool
Instance methods inherited from class Analyzer
analyze
analyze,
base_path : String
base_path,
base_paths : Array(String)
base_paths,
logger : NoirLogger
logger,
result : Array(Endpoint)
result,
url : String
url
Constructor methods inherited from class Analyzer
new(options : Hash(String, YAML::Any))
new
Macros inherited from class Analyzer
define_getter_methods(names)
define_getter_methods
Instance methods inherited from module FileHelper
get_all_files : Array(String)
get_all_files,
get_files_by_extension(extension : String) : Array(String)
get_files_by_extension,
get_files_by_prefix(prefix : String) : Array(String)
get_files_by_prefix,
get_files_by_prefix_and_extension(prefix : String, extension : String) : Array(String)
get_files_by_prefix_and_extension,
get_public_dir_files(base_path : String, folder : String) : Array(String)
get_public_dir_files,
get_public_files(base_path : String) : Array(String)
get_public_files,
populate_channel_with_files(channel : Channel(String))
populate_channel_with_files
Instance Method Detail
def extract_params_from_controller(content : String, controller_name : String, controller_path : String)
#
def extract_params_from_function_block(lines : Array(String), start_index : Int32, end_index : Int32, method : String) : Array(Param)
#