ScriptLanguageExtension
ScriptLanguageExtension.swift:14class ScriptLanguageExtension
Superclasses
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
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 Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
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