Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
CodeCompletionLocation
ScriptLanguageExtension.swift:56enum CodeCompletionLocation
Cases
case local
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).
case parentMask
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.case otherUserCode
The option is from user code which is not local and not in a derived class (e.g. Autoload Singletons).
case other
The option is from other engine code, not covered by the other enum constants - e.g. built-in classes.
Other members in extension
Types
Type members
Instance members
Show implementation details (57)
Hide implementation details
func _addGlobalConstant(name: StringName, value: Variant
) func _addNamedGlobalConstant(name: StringName, value: Variant
) func _autoIndentCode(String, fromLine: Int32, toLine: Int32
) -> String func _canInheritFromFile(
) -> Bool func _canMakeFunction(
) -> Bool func _completeCode(String, path: String, owner: Object?
) -> GDictionary func _createScript(
) -> Object? func _debugGetCurrentStackInfo(
) -> VariantCollection<GDictionary> func _debugGetError(
) -> String func _debugGetGlobals(maxSubitems: Int32, maxDepth: Int32
) -> GDictionary func _debugGetStackLevelCount(
) -> Int32 func _debugGetStackLevelFunction(level: Int32
) -> String func _debugGetStackLevelInstance(level: Int32
) -> OpaquePointer? func _debugGetStackLevelLine(level: Int32
) -> Int32 func _debugGetStackLevelLocals(level: Int32, maxSubitems: Int32, maxDepth: Int32
) -> GDictionary func _debugGetStackLevelMembers(level: Int32, maxSubitems: Int32, maxDepth: Int32
) -> GDictionary func _debugGetStackLevelSource(level: Int32
) -> String Returns the source associated with a given debug stack position.
func _debugParseStackLevelExpression(level: Int32, expression: String, maxSubitems: Int32, maxDepth: Int32
) -> String func _findFunction(String, code: String
) -> Int32 Returns the line where the function is defined in the code, or
-1
if the function is not present.func _finish(
) func _frame(
) func _getBuiltInTemplates(object: StringName
) -> VariantCollection<GDictionary> func _getCommentDelimiters(
) -> PackedStringArray func _getDocCommentDelimiters(
) -> PackedStringArray func _getExtension(
) -> String func _getGlobalClassName(path: String
) -> GDictionary func _getName(
) -> String func _getPublicAnnotations(
) -> VariantCollection<GDictionary> func _getPublicConstants(
) -> GDictionary func _getPublicFunctions(
) -> VariantCollection<GDictionary> func _getRecognizedExtensions(
) -> PackedStringArray func _getReservedWords(
) -> PackedStringArray func _getStringDelimiters(
) -> PackedStringArray func _getType(
) -> String func _handlesGlobalClassType(String
) -> Bool func _hasNamedClasses(
) -> Bool func _init(
) func _isControlFlowKeyword(String
) -> Bool func _isUsingTemplates(
) -> Bool func _lookupCode(String, symbol: String, path: String, owner: Object?
) -> GDictionary func _makeFunction(className: String, functionName: String, functionArgs: PackedStringArray
) -> String func _makeTemplate(String, className: String, baseClassName: String
) -> Script? func _openInExternalEditor(script: Script?, line: Int32, column: Int32
) -> GodotError func _overridesExternalEditor(
) -> Bool func _preferredFileNameCasing(
) -> ScriptLanguage.ScriptNameCasing func _profilingSetSaveNativeCalls(enable: Bool
) func _profilingStart(
) func _profilingStop(
) func _reloadAllScripts(
) func _reloadToolScript(Script?, softReload: Bool
) func _removeNamedGlobalConstant(name: StringName
) func _supportsBuiltinMode(
) -> Bool func _supportsDocumentation(
) -> Bool func _threadEnter(
) func _threadExit(
) func _validate(script: String, path: String, validateFunctions: Bool, validateErrors: Bool, validateWarnings: Bool, validateSafeLines: Bool
) -> GDictionary func _validatePath(String
) -> String
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.