1. 10 12月, 2018 1 次提交
  2. 11 10月, 2018 1 次提交
  3. 19 8月, 2018 2 次提交
  4. 18 8月, 2018 1 次提交
  5. 23 7月, 2018 1 次提交
  6. 13 6月, 2018 1 次提交
  7. 08 6月, 2018 2 次提交
    • N
      Merge end pos map into start pos map · 48ac654a
      Ng Zhi An 提交于
      48ac654a
    • R
      Support emitting a correct end column on SC2086 · 4470fe71
      Russell Harmon 提交于
      This does the necessary work to emit end columns on AST analyses. SC2086
      is made to emit a correct end column as an illustrative example.
      
      For example:
      ```
      $ shellcheck -s bash -f json /dev/stdin <<< 'echo $1'
      [{"file":"/dev/stdin","line":1,"endLine":1,"column":6,"endColumn":8,"level":"info","code":2086,"message":"Double quote to prevent globbing and word splitting."}]
      ```
      
      This change deprecates the parser's getNextId and getNextIdAt, replacing
      it with a new withNextId function. This function has the type signature:
      
      withNextId :: Monad m => ParsecT s UserState (SCBase m) (Id -> b) -> ParsecT s UserState (SCBase m) b
      
      Specifically, it should be used to wrap read* functions and will pass in
      a newly generated Id which should be used to represent that node.
      Sub-parsers will need their own call to withNextId in order to get a
      unique Id.
      
      In doing this, withNextId can now track both the entry and exit position
      of every read* parser which uses it, enabling the tracking of end
      columns throughout the application.
      4470fe71
  8. 09 3月, 2018 1 次提交
  9. 14 12月, 2017 1 次提交
  10. 14 8月, 2017 1 次提交
  11. 09 4月, 2017 1 次提交
  12. 19 6月, 2016 1 次提交
    • R
      PositionedComment and ParseNote contains end cols. · 856d57f7
      Russell Harmon 提交于
      This change makes PositionedComment and ParseNote contain end columns.
      It additionally modifies the JSON formatter to show the end column in an
      "endColumn" property. No modifications to the messages shown by any
      other formatter have been made.
      
      Currently, all checks set the end column to the start column. It should
      now be possible however to start setting the end column in the parser.
      Additional work is needed to set the end column during AST analysis.
      856d57f7
  13. 07 12月, 2015 1 次提交
  14. 04 12月, 2015 1 次提交
  15. 14 10月, 2015 1 次提交
  16. 16 8月, 2015 2 次提交