Enum ScriptLanguageExtension.CodeCompletionLocation
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum ScriptLanguageExtension.CodeCompletionLocation : long
Fields
Local = 0
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).
Other = 1024
The option is from other engine code, not covered by the other enum constants - e.g. built-in classes.
OtherUserCode = 512
The option is from user code which is not local and not in a derived class (e.g. Autoload Singletons).
ParentMask = 256
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.