name: ANTLR fileTypes:

scopeName: source.antlr repository:

nested-curly: 
  name: source.embedded.java-or-c.antlr
  captures: 
    "0": 
      name: punctuation.section.group.antlr
  begin: \{
  end: \}
  patterns: 
  - name: keyword.control.java-or-c
    match: \b(break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while)\b
  - name: storage.type.java-or-c
    match: \b(asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\b
  - name: storage.modifier.java-or-c
    match: \b(const|extern|register|restrict|static|volatile|inline)\b
  - name: constant.language.java-or-c
    match: \b(NULL|true|false|TRUE|FALSE)\b
  - name: keyword.operator.sizeof.java-or-c
    match: \b(sizeof)\b
  - name: constant.numeric.java-or-c
    match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
  - name: string.quoted.double.java-or-c
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.java-or-c
    begin: "\""
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.java-or-c
    end: "\""
    patterns: 
    - name: constant.character.escape.antlr
      match: \\.
  - name: string.quoted.single.java-or-c
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.java-or-c
    begin: "'"
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.java-or-c
    end: "'"
    patterns: 
    - name: constant.character.escape.antlr
      match: \\.
  - name: support.constant.eof-char.antlr
    match: \bEOF_CHAR\b
  - include: "#comments"
comments: 
  patterns: 
  - name: comment.block.antlr
    captures: 
      "0": 
        name: punctuation.definition.comment.antlr
    begin: /\*
    end: \*/
  - name: comment.line.double-slash.antlr
    captures: 
      "1": 
        name: punctuation.definition.comment.antlr
    match: (//).*$\n?
strings: 
  patterns: 
  - name: string.quoted.double.antlr
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.antlr
    begin: "\""
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.antlr
    end: "\""
    patterns: 
    - name: constant.character.escape.antlr
      match: \\(u\h{4}|.)
  - name: string.quoted.single.antlr
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.antlr
    begin: "'"
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.antlr
    end: "'"
    patterns: 
    - name: constant.character.escape.antlr
      match: \\(u\h{4}|.)

uuid: ACABDECD-4F22-47D9-A5F4-DBA957A2A1CC patterns:

keyEquivalent: ^~A