Sha256: b8f7763451036aa7b4f19e24c9689ed538dd82261a835ea0836746000872743b

Contents?: true

Size: 1.51 KB

Versions: 2

Compression:

Stored size: 1.51 KB

Contents

{
  "name": "Hxml",
  "scopeName": "source.hxml",
  "patterns": [
    {
      "name": "comment.line.number-sign.hxml",
      "match": "(#).*$\\n?",
      "captures": {
        "1": {
          "name": "punctuation.definition.comment.hxml"
        }
      }
    },
    {
      "match": "^\\s*(-cppia|-cpp?|-js|-as3|-swf-(header|version|lib(-extern)?)|-swf9?|-neko|-python|-php|-cs|-java-lib|-java|-xml|-lua|-hl|-x|-lib|-D|-resource|-exclude|-version|-v|-debug|-prompt|-cmd|-dce\\s+(std|full|no)?|--flash-strict|--no-traces|--flash-use-stage|--neko-source|--gen-hx-classes|-net-lib|-net-std|-c-arg|--each|--next|--display|--no-output|--times|--no-inline|--no-opt|--php-front|--php-lib|--php-prefix|--remap|--help-defines|--help-metas|-help|--help|-java|-cs|--dead-code-elimination|--js-modern|--interp|--eval|--dce|--wait|--connect|--cwd|--run).*$",
      "captures": {
        "1": {
          "name": "keyword.other.hxml"
        }
      }
    },
    {
      "begin": "(?:^|[^a-zA-Z])(--macro)\\b",
      "end": "\\n",
      "patterns": [
        {
          "include": "source.hx"
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "keyword.other.hxml"
        }
      }
    },
    {
      "match": "(?:^|[^a-zA-Z])(-main)\\b\\s*\\b(?:(([a-z][a-zA-Z0-9]*\\.)*)(_*[A-Z]\\w*))?\\b",
      "captures": {
        "1": {
          "name": "keyword.other.hxml"
        },
        "2": {
          "name": "support.package.hx"
        },
        "4": {
          "name": "entity.name.type.hx"
        }
      }
    }
  ]
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github-linguist-6.2.0 grammars/source.hxml.json
github-linguist-6.1.0 grammars/source.hxml.json