constructor() — tailwindcss Function Reference
Architecture documentation for the constructor() function in css-parser.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 56b31339_0777_afe1_8b3d_8efdbe67a536["constructor()"] 2c7b6e31_c902_cd2d_f5ec_bf42f894f3a3["createLineTable()"] 56b31339_0777_afe1_8b3d_8efdbe67a536 -->|calls| 2c7b6e31_c902_cd2d_f5ec_bf42f894f3a3 style 56b31339_0777_afe1_8b3d_8efdbe67a536 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/css-parser.ts lines 46–61
constructor(message: string, loc: SourceLocation | null) {
if (loc) {
let source = loc[0]
let start = createLineTable(source.code).find(loc[1])
message = `${source.file}:${start.line}:${start.column + 1}: ${message}`
}
super(message)
this.name = 'CssSyntaxError'
this.loc = loc
if (Error.captureStackTrace) {
Error.captureStackTrace(this, CssSyntaxError)
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the tailwindcss codebase.
What does constructor() call?
constructor() calls 1 function(s): createLineTable.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free