Returns the base class of the script class defined in the file at index [code]idx[/code]. If the file doesn't define a script class using the [code]class_name[/code] syntax, this will return an empty string.
Returns the name of the script class defined in the file at index [code]idx[/code]. If the file doesn't define a script class using the [code]class_name[/code] syntax, this will return an empty string.
Returns the resource type of the file at index [code]idx[/code]. This returns a string such as [code]"Resource"[/code] or [code]"GDScript"[/code], [i]not[/i] a file extension such as [code]".gd"[/code].
</description>
</method>
<methodname="get_name">
<returntype="String"/>
<description>
Returns the name of this directory.
</description>
</method>
<methodname="get_parent">
<returntype="EditorFileSystemDirectory"/>
<description>
Returns the parent directory for this directory or [code]null[/code] if called on a directory at [code]res://[/code] or [code]user://[/code].
</description>
</method>
<methodname="get_path"qualifiers="const">
<returntype="String"/>
<description>
Returns the path to this directory.
</description>
</method>
<methodname="get_subdir">
<returntype="EditorFileSystemDirectory"/>
<argumentindex="0"name="idx"type="int"/>
<description>
Returns the subdirectory at index [code]idx[/code].
</description>
</method>
<methodname="get_subdir_count"qualifiers="const">
<returntype="int"/>
<description>
Returns the number of subdirectories in this directory.