MCPcopy Index your code
hub / github.com/postcss/postcss / error

Method error

lib/node.js:146–157  ·  view source on GitHub ↗
(message, opts = {})

Source from the content-addressed store, hash-verified

144 }
145
146 error(message, opts = {}) {
147 if (this.source) {
148 let { end, start } = this.rangeBy(opts)
149 return this.source.input.error(
150 message,
151 { column: start.column, line: start.line },
152 { column: end.column, line: end.line },
153 opts
154 )
155 }
156 return new CssSyntaxError(message)
157 }
158
159 getProxyProcessor() {
160 return {

Callers 15

unclosedFunction · 0.45
checkMissedSemicolonMethod · 0.45
doubleColonMethod · 0.45
unclosedBlockMethod · 0.45
unclosedBracketMethod · 0.45
unexpectedCloseMethod · 0.45
unknownWordMethod · 0.45
unnamedAtruleMethod · 0.45
toStringMethod · 0.45
handleErrorMethod · 0.45
RuleFunction · 0.45

Calls 1

rangeByMethod · 0.95

Tested by 2

RuleFunction · 0.36
OnceFunction · 0.36