Sha256: d936401c77d402912b9bd0df0d0ab285f8306da5778e565e0b9c4a00f837da06

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 KB

Contents

{
  "name": "J",
  "scopeName": "source.j",
  "patterns": [
    {
      "name": "string.quoted.j",
      "match": "('[^']*')"
    },
    {
      "name": "comment.line.j",
      "match": "(?:^|[ )])(NB\\..*$)"
    },
    {
      "name": "constant.numeric.j",
      "match": "(?\u003c![_a-zA-Z])([_0-9][_0-9a-zA-Z]*\\.?[0-9a-zA-Z]*)(?![\\.\\:])"
    },
    {
      "name": "copula.global.j",
      "match": "=\\:"
    },
    {
      "name": "copula.local.j",
      "match": "=\\."
    },
    {
      "name": "keyword.control.j",
      "match": "(?\u003c![_a-zA-Z0-9])((?:while\\.)|(?:whilst\\.)|(?:if\\.)|(?:elseif\\.)|(?:else\\.)|(?:do\\.)|(?:end\\.))"
    },
    {
      "name": "keyword.other.noun.j",
      "match": "((?\u003c![_a-zA-Z0-9])(_\\.|a\\.|a:)(?![\\.\\:]))"
    },
    {
      "name": "keyword.operator.conjunction.j",
      "match": "((?\u003c![_a-zA-Z0-9])(?:[dDHT]\\.)|(?\u003c![_a-zA-Z0-9])(?:[DLS]:)|(\u0026\\.:)|([\\;\\!\\@\u0026]\\.)|([\\^\\!\\`\\@\u0026]:)|([\\\"\\`\\@\u0026])|(\\s[\\.\\:][\\.\\:])|(\\s[\\.\\:]))(?![\\.\\:])"
    },
    {
      "name": "keyword.operator.adverb.j",
      "match": "(([\\/\\\\]\\.)|(?\u003c![_a-zA-Z0-9])(?:[bfMt]\\.)|(?\u003c![_a-zA-Z0-9])(?:t:)|([\\~\\/\\\\\\}]))(?![\\.\\:])"
    },
    {
      "name": "keyword.operator.verb.j",
      "match": "((?:_?[0-9]\\:)|(?\u003c![_a-zA-Z0-9])(?:p\\.\\.)|(?\u003c![_a-zA-Z0-9])(?:[AcCeEiIjLopr]\\.)|(?\u003c![_a-zA-Z0-9])(?:[ipqsux]:)|({::)|([\u003c\u003e\\+\\*\\-\\%\\^\\$\\~\\|\\,\\#\\{\\}\"\\?]\\.)|([\u003c\u003e\\_\\+\\*\\-\\%\\$\\~\\|\\,\\;\\#\\/\\\\\\[\\{\\}\"]:)|([\u003c\u003e\\=\\+\\*\\-\\%\\^\\$\\|\\,\\;\\#\\!\\[\\]\\{\\?]))(?![\\.\\:])"
    }
  ]
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github-linguist-6.1.0 grammars/source.j.json
github-linguist-6.0.1 grammars/source.j.json
github-linguist-6.0.0 grammars/source.j.json