class collector.gd extends ["SceneTree"]

var warnings_regex

func _init

Parameters:
Return type:

res://addons/godot-autogen-docs/collector.gd

func find_files

Returns a list of file paths found in the directory.

Parameters:
  • dirpath (String)

  • patterns (PackedStringArray)

  • is_recursive (bool)

  • _do_skip_hidden (bool)

Return type:

PackedStringArray

func save_text

Saves text to a file.

Parameters:
  • path (String)

  • content (String)

Return type:

null

func get_reference

Parses a list of GDScript files and returns a list of dictionaries with the code reference data. If `refresh_cache` is true, will refresh Godot's cache and get fresh symbols.

Parameters:
  • files (PackedStringArray)

  • refresh_cache (bool)

Return type:

Dictionary