class
Analyzer::Python::Tornado
- Analyzer::Python::Tornado
- Analyzer::Python::Python
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/python/tornado.crConstant Summary
-
CLASS_DEF_REGEX =
/^class\s+([a-zA-Z_][a-zA-Z0-9_]*)\s*[\(:]/ -
REQUEST_PARAM_FIELDS =
{"arguments" => {["GET"], "query"}, "body_arguments" => {["POST", "PUT", "PATCH", "DELETE"], "form"}, "files" => {["POST", "PUT", "PATCH", "DELETE"], "form"}, "body" => {["POST", "PUT", "PATCH", "DELETE"], "body"}, "headers" => {nil, "header"}, "cookies" => {nil, "cookie"}} -
Reference: https://tornadoweb.org/en/stable/web.html Reference: https://tornadoweb.org/en/stable/httputil.html#tornado.httputil.HTTPServerRequest
-
REQUEST_PARAM_TYPES =
{"query" => nil, "form" => ["POST", "PUT", "PATCH", "DELETE"], "body" => ["POST", "PUT", "PATCH", "DELETE"], "cookie" => nil, "header" => nil}
Instance Method Summary
Instance methods inherited from class Analyzer::Python::Python
find_imported_modules(app_base_path : String, file_path : String, content : String | Nil = nil) : Hash(String, Tuple(String, Int32))
find_imported_modules,
find_imported_package(package_path : String, dotted_as_names : String) : Array(Tuple(String, String, Int32))
find_imported_package,
find_json_params(codeblock_lines : Array(String), json_var_names : Array(String)) : Array(Param)
find_json_params,
parse_code_block(data : String | Array(String), after : Regex | Nil = nil) : String | Nil
parse_code_block,
parse_function_def(source_lines : Array(String), start_index : Int32) : FunctionDefinition | Nil
parse_function_def,
return_literal_value(data : String) : String
return_literal_value
Instance methods inherited from class Analyzer
analyze
analyze,
base_path : String
base_path,
base_paths : Array(String)
base_paths,
logger : NoirLogger
logger,
parallel_analyze(channel : Channel(String), &block : String -> Nil)
parallel_analyze,
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
all_files : Array(String)
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,
populate_channel_with_filtered_files(channel : Channel(String), extension : String)populate_channel_with_filtered_files(channel : Channel(String), extensions : Array(String)) populate_channel_with_filtered_files