// This is a TextMate grammar distributed by `starry-night`. // This grammar is developed at // // and licensed `apache-2.0`. // See for more info. /** * @import {Grammar} from '@wooorm/starry-night' */ /** @type {Grammar} */ const grammar = { extensions: ['.fpp', '.fppi'], names: ['fpp'], patterns: [ {include: '#specInitPhase'}, {include: '#keywords'}, {include: '#modifiers'}, {include: '#severity'}, {include: '#types'}, {include: '#type-builtin-literals'}, {include: '#annotations'}, {include: '#tripleString'}, {include: '#strings'}, {include: '#punctuation-comma'}, {include: '#punctuation-semicolon'}, {include: '#punctuation-accessor'}, {include: '#string-character-escape'}, {include: '#numeric-literal'} ], repository: { annotations: { patterns: [ {match: '[@][<]?[^\n]*', name: 'comment.block.documentation.fpp'}, {match: '[#][^\n]*', name: 'comment.line.fpp'} ] }, cppTripleString: { begin: '"""', beginCaptures: { 0: { name: 'string.quoted.triple.fpp punctuation.definition.string.begin.fpp' } }, contentName: 'meta.embedded.block.cpp', end: '"""', endCaptures: { 0: { name: 'string.quoted.triple.fpp punctuation.definition.string.end.fpp' } }, patterns: [{include: 'source.c++'}] }, keywords: { patterns: [ { match: '\\b(?