📄 ast-utils/misc¶
📊 Analysis Summary¶
| Metric | Count |
|---|---|
| 🔧 Functions | 1 |
| 📦 Imports | 1 |
| 📊 Variables & Constants | 1 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/utils/src/ast-utils/misc.ts
📦 Imports¶
| Name | Source |
|---|---|
TSESTree |
../ts-estree |
Variables & Constants¶
| Name | Type | Kind | Value | Exported |
|---|---|---|---|---|
LINEBREAK_MATCHER |
RegExp |
const | /\r\n\|[\r\n\u2028\u2029]/ |
✓ |
Functions¶
isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean¶
Determines whether two adjacent tokens are on the same line
Code
Generated by Syntax Scribe