How to capture end of lines into rules greedy in tree-sitter?

后端 未结 0 1226
孤街浪徒
孤街浪徒 2020-12-18 05:16

I wrote the following grammar for tree-sitter:

module.exports = grammar({
    name: \'test\',

    rules: {
        source_file: $ => seq(
            repe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题