Sha256: 8dc3f5be34966c185db1fbb3fa835c3bbb9b00e32ff966d8619d77c8197dd08f

Contents?: true

Size: 1.33 KB

Versions: 22

Compression:

Stored size: 1.33 KB

Contents

{
  "fileTypes": [
    "asn",
    "asn1"
  ],
  "name": "Abstract Syntax Notation",
  "patterns": [
    {
      "match": "--.*$",
      "name": "comment.line.asn"
    },
    {
      "match": "::=",
      "name": "storage.type.asn"
    },
    {
      "match": "\\|",
      "name": "storage.type.asn"
    },
    {
      "match": "\\.\\.",
      "name": "keyword.operator.asn"
    },
    {
      "match": "(SEQUENCE|SET|CLASS|CHOICE|OF)",
      "name": "storage.type.asn"
    },
    {
      "match": "(BOOLEAN|INTEGER|ENUMERATED|REAL|(BIT|OCTET) STRING|NULL|OBJECT IDENTIFIER|ANY|DATE|DATE-TIME|(Numeric|Printable|Teletex|IA5|Visible|Graphic|General)String|(Generalized|UTC)Time|EXTERNAL|Object Descriptor)",
      "name": "variable.language.asn"
    },
    {
      "match": "([-+]?[0-9]+|[-+]?\\.[0-9]+)(?=\\)|\\.\\.)",
      "name": "constant.numeric.float.asn"
    },
    {
      "begin": "\"",
      "end": "\"",
      "name": "string.quoted.double.asn"
    },
    {
      "match": "OPTIONAL|SIZE|\\^ FROM",
      "name": "storage.modifier.asn"
    },
    {
      "match": "DEFINITIONS|AUTOMATIC TAGS|BEGIN|END",
      "name": "entity.name.type.class.asn"
    },
    {
      "match": "IMPORTS|FROM",
      "name": "support.constant.asn"
    },
    {
      "match": "(IM|EX)PLICIT",
      "name": "constant.language.asn"
    }
  ],
  "scopeName": "source.asn"
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
github-linguist-5.3.3 grammars/source.asn.json
github-linguist-5.3.2 grammars/source.asn.json
github-linguist-5.3.1 grammars/source.asn.json
github-linguist-5.3.0 grammars/source.asn.json
github-linguist-5.2.0 grammars/source.asn.json
github-linguist-5.1.0 grammars/source.asn.json
github-linguist-5.0.11 grammars/source.asn.json
github-linguist-5.0.10 grammars/source.asn.json
github-linguist-5.0.9 grammars/source.asn.json
github-linguist-5.0.8 grammars/source.asn.json
github-linguist-5.0.7 grammars/source.asn.json
github-linguist-5.0.6 grammars/source.asn.json
github-linguist-5.0.5 grammars/source.asn.json
github-linguist-5.0.4 grammars/source.asn.json
github-linguist-5.0.3 grammars/source.asn.json
github-linguist-5.0.2 grammars/source.asn.json
github-linguist-5.0.0 grammars/source.asn.json
github-linguist-4.8.18 grammars/source.asn.json
github-linguist-4.8.17 grammars/source.asn.json
github-linguist-4.8.16 grammars/source.asn.json