From 90e6cb94e9c9a4d055a0983c9c7386daa48f61f9 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:45:03 +0800 Subject: [PATCH] TODO#139893 [ FAQ 常見問題 -我進行預約後,顧問會用甚麼方式聯繫我? ] 文案調整 --- PAMapp/node_modules/source-map/README.md | 41 +++++++++++++++++++++++++++-------------- 1 files changed, 27 insertions(+), 14 deletions(-) diff --git a/PAMapp/node_modules/source-map/README.md b/PAMapp/node_modules/source-map/README.md index 3281339..fea4beb 100644 --- a/PAMapp/node_modules/source-map/README.md +++ b/PAMapp/node_modules/source-map/README.md @@ -248,9 +248,13 @@ source's line and column positions provided. The only argument is an object with the following properties: -* `line`: The line number in the generated source. +* `line`: The line number in the generated source. Line numbers in + this library are 1-based (note that the underlying source map + specification uses 0-based line numbers -- this library handles the + translation). -* `column`: The column number in the generated source. +* `column`: The column number in the generated source. Column numbers + in this library are 0-based. * `bias`: Either `SourceMapConsumer.GREATEST_LOWER_BOUND` or `SourceMapConsumer.LEAST_UPPER_BOUND`. Specifies whether to return the closest @@ -264,10 +268,10 @@ available. * `line`: The line number in the original source, or null if this information is - not available. + not available. The line number is 1-based. * `column`: The column number in the original source, or null if this - information is not available. + information is not available. The column number is 0-based. * `name`: The original identifier, or null if this information is not available. @@ -293,15 +297,19 @@ * `source`: The filename of the original source. -* `line`: The line number in the original source. +* `line`: The line number in the original source. The line number is + 1-based. -* `column`: The column number in the original source. +* `column`: The column number in the original source. The column + number is 0-based. and an object is returned with the following properties: -* `line`: The line number in the generated source, or null. +* `line`: The line number in the generated source, or null. The line + number is 1-based. -* `column`: The column number in the generated source, or null. +* `column`: The column number in the generated source, or null. The + column number is 0-based. ```js consumer.generatedPositionFor({ source: "example.js", line: 2, column: 10 }) @@ -322,15 +330,19 @@ * `source`: The filename of the original source. -* `line`: The line number in the original source. +* `line`: The line number in the original source. The line number is + 1-based. -* `column`: Optional. The column number in the original source. +* `column`: Optional. The column number in the original source. The + column number is 0-based. and an array of objects is returned, each with the following properties: -* `line`: The line number in the generated source, or null. +* `line`: The line number in the generated source, or null. The line + number is 1-based. -* `column`: The column number in the generated source, or null. +* `column`: The column number in the generated source, or null. The + column number is 0-based. ```js consumer.allGeneratedpositionsfor({ line: 2, source: "foo.coffee" }) @@ -534,10 +546,11 @@ #### new SourceNode([line, column, source[, chunk[, name]]]) * `line`: The original line number associated with this source node, or null if - it isn't associated with an original line. + it isn't associated with an original line. The line number is 1-based. * `column`: The original column number associated with this source node, or null - if it isn't associated with an original column. + if it isn't associated with an original column. The column number + is 0-based. * `source`: The original source's filename; null if no filename is provided. -- Gitblit v1.9.3