Skip to main content

Crate emmylua_code_analysis

Crate emmylua_code_analysis 

Source

Structs§

AnalyzeError
BasicTypeUnion
CacheOptions
CallConstraintArg
CallConstraintContext
DbIndex
DeclFeatureFlag
DeclMultiReturnRef
DeclMultiReturnRefAt
DeclReference
DeclReferenceCell
DiagnosticAction
DiagnosticIndex
DocTypeInferContext
EmmyLuaAnalysis
Emmyrc
EmmyrcCodeAction
EmmyrcCodeLens
EmmyrcCompletion
Configuration for EmmyLua code completion.
EmmyrcDiagnostic
Represents the diagnostic configuration for Emmyrc.
EmmyrcDoc
EmmyrcDocumentColor
EmmyrcExternalTool
EmmyrcHover
EmmyrcInlayHint
EmmyrcInlineValues
EmmyrcReference
EmmyrcReformat
EmmyrcResource
EmmyrcRuntime
EmmyrcSemanticToken
EmmyrcSignature
EmmyrcStrict
EmmyrcWorkspace
EmmyrcWorkspaceModuleMap
EmmyrcWorkspacePathConfig
FileId
FileReference
FlowId
Unique identifier for flow nodes
FlowNode
Main flow node structure containing all flow analysis information
FlowTree
GenericArgumentCompletion
GenericParam
GenericTpl
GlobalId
InFiled
InferGuard
Guard to prevent infinite recursion with optimized lazy allocation
JsonSchemaIndex
LuaAliasCallType
LuaArrayType
LuaAttributeType
LuaAttributeUse
LuaClosureId
LuaCommonProperty
LuaCompilation
LuaConditionalType
LuaConstructorAttribute
LuaDecl
LuaDeclId
LuaDeclIndex
LuaDeclLocation
LuaDeclarationTree
LuaDependencyIndex
LuaDeprecatedAttribute
LuaDiagnostic
LuaDocParamInfo
LuaDocReturnInfo
LuaDocReturnOverloadInfo
LuaDocument
LuaFieldAccessorAttribute
LuaFileInfo
LuaFlowIndex
LuaFunctionType
LuaGenericParamInfo
LuaGenericType
LuaGlobalIndex
LuaIndexAliasAttribute
LuaInferCache
LuaInstanceType
LuaIntersectionType
LuaLspOptimizationAttribute
LuaMappedType
LuaMember
LuaMemberId
LuaMemberIndex
LuaMemberInfo
LuaMetatableIndex
LuaModuleIndex
LuaMultiLineUnion
LuaObjectType
LuaOperator
LuaOperatorId
LuaOperatorIndex
LuaPropertyId
LuaPropertyIndex
LuaReferenceIndex
LuaScope
LuaScopeId
LuaSignature
LuaSignatureCast
LuaSignatureId
LuaSignatureIndex
LuaStringTplType
LuaTupleType
LuaTypeDecl
LuaTypeDeclId
LuaTypeIndex
ModuleInfo
ModuleNode
ModuleNodeId
Profile
SemanticInfo
SemanticModel
TplContext
TypeHumanizer
Core writer-based type humanizer. Avoids intermediate String allocations and prevents infinite recursion through depth tracking and cycle detection.
TypeSubstitutor
Vfs
VirtualUrlGenerator
VirtualWorkspace
A virtual workspace for testing.
Workspace
WorkspaceFileMatcher
WorkspaceFolder
WorkspaceId

Enums§

AsyncState
BasicTypeKind
CacheEntry
DiagnosticActionKind
DiagnosticCode
DiagnosticSeveritySetting
DocSyntax
EmmyrcFilenameConvention
EmmyrcLuaVersion
EmmyrcWorkspacePathItem
FlowAntecedent
Represents how flow nodes are connected
FlowNodeKind
Different types of flow nodes in the control flow graph
GenericTplId
InferFailReason
JsonSchemaFile
LocalAttribute
LuaAliasCallKind
LuaAnalysisPhase
LuaArrayLen
LuaBuiltinAttributeKind
LuaConstructorReturnMode
LuaDeclExtra
LuaDeclOrMemberId
LuaDeclTypeKind
LuaDeprecated
LuaFieldAccessorConvention
LuaIndexAccessKey
LuaLspOptimizationCode
LuaMemberFeature
LuaMemberIndexItem
LuaMemberKey
LuaMemberOwner
LuaNoDiscard
LuaOperatorMetaMethod
LuaOperatorOwner
LuaScopeKind
LuaSemanticDeclId
LuaTupleStatus
LuaType
LuaTypeCache
LuaTypeFlag
LuaTypeIdentifier
LuaTypeOwner
LuaUnionType
ModuleVisibility
OperatorFunction
PropertyDeclFeature
RenderLevel
ScopeOrDeclId
SemanticDeclLevel
SignatureReturnStatus
TypeCheckFailReason
TypeOps
VariadicType
WorkspaceImport

Traits§

LuaAttributeCollectionExt
LuaIndex
LuaTypeNode
TypeVisitTrait

Functions§

build_call_constraint_context
build_self_type
build_workspace_folders
calculate_include_and_exclude
check_module_visibility
collect_workspace_files
complete_type_generic_args
根据已提供的类型泛型实参补齐默认实参.
complete_type_generic_args_in_type
在任意类型表达式内补齐类型泛型实参.
enum_variable_is_param
file_path_to_uri
find_index_operations
find_members_with_key
find_workspace_path_exclude
first_param_may_not_self
format_union_type
Format a union type using a custom type formatter closure. This keeps backward compatibility for callers (e.g. inlay hints, hover) that need to inject their own formatting logic per union member.
get_best_resources_dir
get_keyof_members
get_locale_code
get_member_map
get_real_type
get_schema_short_name
get_tpl_ref_extend_type
humanize_type
Humanize a type into a display string. This is the primary backward-compatible entry point. Internally uses TypeHumanizer for efficient, depth-bounded rendering.
infer_call_expr_func
infer_doc_type
infer_index_expr
infer_param
infer_self_type
infer_table_field_value_should_be
infer_table_should_be
instantiate_doc_function
instantiate_func_generic
instantiate_generic
instantiate_type_generic
load_configs
load_configs_raw
load_resource_from_include_dir
load_workspace_files
normalize_constraint_type
parse_require_module_info
解析 require 调用表达式并获取模块信息
read_file_with_encoding
set_locale
tpl_pattern_match_args
tpl_pattern_match_args_skip_unknown
try_extract_signature_id_from_field
尝试从 @field 定义中提取函数类型的位置信息
uri_to_file_path

Type Aliases§

InferGuardRef
TypeCheckResult