1 个仓库
Deep semantic analysis services including symbol resolution and type inference for a specific language.
Distinct from JavaScript Semantic Completion: Distinct from semantic completion by covering the broader intelligence layer including navigation and understanding, not just completion suggestions.
Explore 1 awesome GitHub repository matching development tools & productivity · Language Intelligence Services. Refine with filters or upvote what's useful.
Tern 是一个独立于编辑器的 JavaScript 代码分析器和静态分析引擎。它作为一个语言服务器,通过将源代码解析为抽象语法树(AST)来推断类型并解析符号,从而提供语义智能,且无需手动编写类型注解。 该引擎的独特之处在于使用基于 JSON 的类型定义,这使得它无需原始源代码即可描述库签名和外部依赖。它还具备插件系统,支持扩展服务器功能以支持自定义加载器或框架。 该项目涵盖了代码导航、重构和编辑器自动补全等广泛功能。它提供的服务包括定位符号定义、查找代码引用,以及基于推断的表达式类型提供函数参数提示和补全。
Provides deep semantic analysis of JavaScript code to enable advanced navigation and understanding in editors.