Crate emmylua_code_analysis

Source

Structs§

AnalyzeError
CacheOptions
CodeStyleDiagnostic
DbIndex
DeclReference
DiagnosticAction
DiagnosticIndex
EmmyLuaAnalysis
Emmyrc
FileId
FileReference
FlowId
Unique identifier for flow nodes
FlowNode
Main flow node structure containing all flow analysis information
FlowTree
GenericTpl
GlobalId
InFiled
InferGuard
Guard to prevent infinite recursion Some type may reference itself, so we need to check if we have already inferred this type
LuaAliasCallType
LuaArrayType
LuaClosureId
LuaCommonProperty
LuaCompilation
LuaDecl
LuaDeclId
LuaDeclIndex
LuaDeclLocation
LuaDeclarationTree
LuaDiagnostic
LuaDocParamInfo
LuaDocReturnInfo
LuaDocument
LuaExport
LuaFileInfo
LuaFlowIndex
LuaFunctionType
LuaGenericType
LuaInferCache
LuaInstanceType
LuaIntersectionType
LuaMember
LuaMemberId
LuaMemberIndex
LuaMemberInfo
LuaModuleIndex
LuaMultiLineUnion
LuaObjectType
LuaOperator
LuaOperatorId
LuaOperatorIndex
LuaPropertyId
LuaPropertyIndex
LuaReferenceIndex
LuaScope
LuaScopeId
LuaSignature
LuaSignatureCast
LuaSignatureId
LuaSignatureIndex
LuaStringTplType
LuaTupleType
LuaTypeDecl
LuaTypeDeclId
LuaTypeIndex
ModuleInfo
Profile
RangeFormatResult
SemanticInfo
SemanticModel
TplContext
TypeSubstitutor
Vfs
VirtualUrlGenerator
VirtualWorkspace
A virtual workspace for testing.
Workspace
WorkspaceId

Enums§

CacheEntry
DiagnosticActionKind
DiagnosticCode
EmmyrcFilenameConvention
EmmyrcLuaVersion
FlowAntecedent
Represents how flow nodes are connected
FlowNodeKind
Different types of flow nodes in the control flow graph
GenericTplId
InferFailReason
LocalAttribute
LuaAliasCallKind
LuaAnalysisPhase
LuaArrayLen
LuaDeclExtra
LuaDeclOrMemberId
LuaDeclTypeKind
LuaDeprecated
LuaExportScope
LuaIndexAccessKey
LuaMemberFeature
LuaMemberIndexItem
LuaMemberKey
LuaMemberOwner
LuaNoDiscard
LuaOperatorMetaMethod
LuaOperatorOwner
LuaScopeKind
LuaSemanticDeclId
LuaTupleStatus
LuaType
LuaTypeAttribute
LuaTypeCache
LuaTypeOwner
LuaUnionType
OperatorFunction
RenderLevel
ScopeOrDeclId
SemanticDeclLevel
SignatureReturnStatus
TypeCheckFailReason
TypeOps
VariadicType

Traits§

LuaIndex
TypeVisitTrait

Functions§

build_self_type
check_code_style
check_export_visibility
检查模块是否可见.
enum_variable_is_param
file_path_to_uri
find_index_operations
format_union_type
get_locale_code
get_member_map
get_real_type
humanize_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_type_generic
load_configs
load_workspace_files
parse_require_module_info
解析 require 调用表达式并获取模块信息
range_format_code
read_file_with_encoding
reformat_code
remove_code_style
set_locale
tpl_pattern_match_args
try_extract_signature_id_from_field
尝试从 @field 定义中提取函数类型的位置信息
update_code_style
uri_to_file_path

Type Aliases§

TypeCheckResult