LexerState Type — vite Architecture
Architecture documentation for the LexerState type/interface in hmr.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 65ab9c67_da73_d822_e9f4_705c8b5b00f0["LexerState"] 18db4f26_79f1_5b7d_b291_4feeaf95538f["hmr.ts"] 65ab9c67_da73_d822_e9f4_705c8b5b00f0 -->|defined in| 18db4f26_79f1_5b7d_b291_4feeaf95538f style 65ab9c67_da73_d822_e9f4_705c8b5b00f0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/server/hmr.ts lines 942–948
const enum LexerState {
inCall,
inSingleQuoteString,
inDoubleQuoteString,
inTemplateString,
inArray,
}
Defined In
Source
Frequently Asked Questions
What is the LexerState type?
LexerState is a type/interface in the vite codebase, defined in packages/vite/src/node/server/hmr.ts.
Where is LexerState defined?
LexerState is defined in packages/vite/src/node/server/hmr.ts at line 942.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free