Sha256: 3829c4db7e3159c4a4ec0d7022925630253a15525c58edbaeff0140d63e24ad1
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
{"name":"Peggy File","scopeName":"source.peggy","patterns":[{"include":"#comment"},{"include":"#label"},{"include":"#defRule"},{"include":"#rule"},{"include":"#literal"},{"include":"#charclass"},{"include":"#operators"},{"include":"#inlinejs"}],"repository":{"charclass":{"name":"declaration.keyword.peggy","begin":"\\[","end":"\\]","patterns":[{"name":"constant.character.escape.peggy","match":"\\\\."}]},"comment":{"patterns":[{"name":"comment.block.peggy","begin":"/\\*","end":"\\*/"},{"name":"comment.line.double-slash.peggy","match":"//.*$\\n?"}]},"defRule":{"match":"(\\w+)\\s*(?=\\=)","captures":{"1":{"name":"entity.name.function.peggy"}}},"inlinejs":{"name":"meta.embedded.block.javascript","begin":"{","end":"}","patterns":[{"include":"source.js"}]},"label":{"match":"(\\w+)\\s*(?=:)","captures":{"1":{"name":"entity.other.attribute-name.attribute.peggy"}}},"literal":{"patterns":[{"name":"string.quoted.double.peggy","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.peggy","match":"\\\\(x[[:xdigit:]]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)"},{"name":"invalid.illegal.string.peggy","match":"[^\"]*[^\\n\\r\"\\\\]$"}]},{"name":"string.quoted.single.peggy","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.peggy","match":"\\\\(x[[:xdigit:]]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"},{"name":"invalid.illegal.string.peggy","match":"[^']*[^\\n\\r'\\\\]$"}]}]},"operators":{"name":"keyword.operator.peggy","match":"[*?/.!=+\u0026@]"},"rule":{"name":"entity.name.function.peggy","match":"[a-zA-Z_][a-zA-Z_0-9$]*"}}}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github-linguist-9.0.0 | grammars/source.peggy.json |
github-linguist-8.0.1 | grammars/source.peggy.json |
github-linguist-8.0.0 | grammars/source.peggy.json |