Class reference

ScriptLanguageExtension

Inherits ScriptLanguage

Methods

bool _can_inherit_from_file() virtual required const

bool _can_make_function() virtual required const

Object _create_script() virtual required const

Dictionary[] _debug_get_current_stack_info() virtual required

String _debug_get_error() virtual required const

int _debug_get_stack_level_count() virtual required const

String _debug_get_stack_level_function(int level) virtual required const

void* _debug_get_stack_level_instance(int level) virtual required

int _debug_get_stack_level_line(int level) virtual required const

Dictionary _debug_get_stack_level_locals(int level, int max_subitems, int max_depth) virtual required

Dictionary _debug_get_stack_level_members(int level, int max_subitems, int max_depth) virtual required

String _debug_get_stack_level_source(int level) virtual required const

Returns the source associated with a given debug stack position.

String _debug_parse_stack_level_expression(int level, String expression, int max_subitems, int max_depth) virtual required

int _find_function(String function, String code) virtual required const

Returns the line where the function is defined in the code, or -1 if the function is not present.

void _finish() virtual required

void _frame() virtual required

Dictionary[] _get_built_in_templates(StringName object) virtual required const

String _get_extension() virtual required const

String _get_name() virtual required const

Dictionary[] _get_public_annotations() virtual required const

Dictionary _get_public_constants() virtual required const

Dictionary[] _get_public_functions() virtual required const

String _get_type() virtual required const

bool _handles_global_class_type(String type) virtual required const

bool _has_named_classes() virtual required const

Deprecated.

This method is not called by the engine.

void _init() virtual required

bool _is_control_flow_keyword(String keyword) virtual required const

bool _is_using_templates() virtual required

int _open_in_external_editor(Script script, int line, int column) virtual required

bool _overrides_external_editor() virtual required

int _preferred_file_name_casing() virtual const

int _profiling_get_accumulated_data(ScriptLanguageExtensionProfilingInfo* info_array, int info_max) virtual required

int _profiling_get_frame_data(ScriptLanguageExtensionProfilingInfo* info_array, int info_max) virtual required

void _profiling_set_save_native_calls(bool enable) virtual required

void _profiling_start() virtual required

void _profiling_stop() virtual required

void _reload_all_scripts() virtual required

void _reload_scripts(Array scripts, bool soft_reload) virtual required

void _reload_tool_script(Script script, bool soft_reload) virtual required

void _remove_named_global_constant(StringName name) virtual required

bool _supports_builtin_mode() virtual required const

bool _supports_documentation() virtual required const

void _thread_enter() virtual required

void _thread_exit() virtual required

Constants

LOOKUP_RESULT_SCRIPT_LOCATION = 0

Enum: LookupResultType

LOOKUP_RESULT_CLASS = 1

Enum: LookupResultType

LOOKUP_RESULT_CLASS_CONSTANT = 2

Enum: LookupResultType

LOOKUP_RESULT_CLASS_PROPERTY = 3

Enum: LookupResultType

LOOKUP_RESULT_CLASS_METHOD = 4

Enum: LookupResultType

LOOKUP_RESULT_CLASS_SIGNAL = 5

Enum: LookupResultType

LOOKUP_RESULT_CLASS_ENUM = 6

Enum: LookupResultType

LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE = 7

Enum: LookupResultType

Deprecated.

LOOKUP_RESULT_CLASS_ANNOTATION = 8

Enum: LookupResultType

LOOKUP_RESULT_LOCAL_CONSTANT = 9

Enum: LookupResultType

LOOKUP_RESULT_LOCAL_VARIABLE = 10

Enum: LookupResultType

LOOKUP_RESULT_MAX = 11

Enum: LookupResultType

LOCATION_LOCAL = 0

Enum: CodeCompletionLocation

The option is local to the location of the code completion query - e.g. a local variable. Subsequent value of location represent options from the outer class, the exact value represent how far they are (in terms of inner classes).

LOCATION_PARENT_MASK = 256

Enum: CodeCompletionLocation

The option is from the containing class or a parent class, relative to the location of the code completion query. Perform a bitwise OR with the class depth (e.g. 0 for the local class, 1 for the parent, 2 for the grandparent, etc.) to store the depth of an option in the class or a parent class.

LOCATION_OTHER_USER_CODE = 512

Enum: CodeCompletionLocation

The option is from user code which is not local and not in a derived class (e.g. Autoload Singletons).

LOCATION_OTHER = 1024

Enum: CodeCompletionLocation

The option is from other engine code, not covered by the other enum constants - e.g. built-in classes.

CODE_COMPLETION_KIND_CLASS = 0

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_FUNCTION = 1

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_SIGNAL = 2

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_VARIABLE = 3

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_MEMBER = 4

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_ENUM = 5

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_CONSTANT = 6

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_NODE_PATH = 7

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_FILE_PATH = 8

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_PLAIN_TEXT = 9

Enum: CodeCompletionKind

CODE_COMPLETION_KIND_MAX = 10

Enum: CodeCompletionKind

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.