Sha256: 272cacd09b364940123bb23471f35a3ded5cf8f91b095e4e004a70b01fc2f94b

Contents?: true

Size: 1.93 KB

Versions: 10

Compression:

Stored size: 1.93 KB

Contents

{
  "name": "Hxml",
  "scopeName": "source.hxml",
  "patterns": [
    {
      "name": "comment.line.number-sign.hxml",
      "match": "(#).*$\\n?",
      "captures": {
        "1": {
          "name": "punctuation.definition.comment.hxml"
        }
      }
    },
    {
      "begin": "(?:^|[^a-zA-Z])(--macro)\\b",
      "end": "\\n",
      "patterns": [
        {
          "include": "source.hx"
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "keyword.other.hxml"
        }
      }
    },
    {
      "match": "(?:^|[^a-zA-Z])(-m|-main|--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"
        }
      }
    },
    {
      "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"
        }
      }
    },
    {
      "match": "^\\s*(--js(on)?|--lua|--swf-(header|version|lib(-extern)?)|--swf|--as3|--neko|--php|--cppia|--cpp|--cppia|--cs|--java-lib|--java|--python|--hl|-p|--class-path|-L|--library|--define|-r|--resource|--cmd|-C|--verbose|--debug|--prompt|--xml|--json|--net-lib|--net-std|--c-arg|--version|-h|--main|--).*$",
      "captures": {
        "1": {
          "name": "keyword.other.hxml"
        }
      }
    }
  ]
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
github-linguist-7.2.0 grammars/source.hxml.json
github-linguist-7.1.3 grammars/source.hxml.json
github-linguist-7.1.2 grammars/source.hxml.json
github-linguist-7.1.1 grammars/source.hxml.json
github-linguist-7.1.0 grammars/source.hxml.json
github-linguist-7.0.0 grammars/source.hxml.json
github-linguist-6.4.1 grammars/source.hxml.json
github-linguist-6.4.0 grammars/source.hxml.json
github-linguist-6.3.1 grammars/source.hxml.json
github-linguist-6.3.0 grammars/source.hxml.json