215 lines
6.6 KiB
Plaintext
215 lines
6.6 KiB
Plaintext
'scopeName': 'source.mefpp'
|
|
'name': 'MEF++'
|
|
'fileTypes': ['champs']
|
|
|
|
'patterns': [
|
|
{
|
|
'match': '\\b(champgeosafe|champgeolin|champgeoquad)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(scalaire|vectoriel1d|vectoriel2d|vectoriel3d|to2sym|to2nsym|to2nsymaconstant|to4elasticite)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(scallin|scalquad|scalhierarchique|scalquadbulle|scalcrourav|scalquadbulleh|scalsommetfaceelement|scalsommetface3d|scalsommetaretefacex3_3d|scalqc|scalmini|scalmini3d|scalhermite3dordre3|scalhermite3dordre3Inc|scalp0isop1|scalp0isop2|scalp1isop1bulle|scalp1isop2|scalp1isop2bulle|scalconstelem|scalp1discelem|scalp1discelemb|scalp1discelemc|scallinelem|scalquadelem|scalp1nc|scalquadbulle|scalquadbulleh|champgradientscal|champ_xfem_partie_enrichie)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(scalintegraledetj|scalh)\\s+([^\\s]+)\\s'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(v2dlin|v2dp1nc|v2dmini|v2dp1isop1bulle|v2dp1isop2|v2dquad|v2dcrourav|v2dcubique|v2dquartique|v2dconstelem|v2dlinelem|v2dhierarchique|v2dquadbulle|v2dquadbulleh|v2dquadelem|v3dlin|v3dp1nc|v3dmini|v3dp1isop1bulle|v3dp1isop2|v3dquad|v3dcrourav|v3dcubique|v3dquartique|v3dconstelem|v3dlinelem|v3dhierarchique|v3dquadbulle|v3dquadbulleh|v3dqc|v3dquadelem)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(to2symlin|to2symquad|to2symconstelem|to2symlinelem|to2symquadelem|to2nsymlin|to2nsymquad|to2nsymconstelem|to2nsymlinelem|to2nsymquadelem)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(empilementto2|empilementto2nsym|empilementto4|empilementv3d|empilementv2d|empilementto2_discelem|empilementto2nsym_discelem|empilementto4_discelem|empilementv3d_discelem|empilementv2d_discelem)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(booleen|chainecar)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'string.other.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(alias)'
|
|
'captures':
|
|
'1':
|
|
'name': 'string.other.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(solveur_lin_petsc|solveur_nlin_petsc|solveur_inst_nlin_petsc|solveur_hp|solveurlinpetsc|solveurnlinpetsc|solveurinstnlinpetsc|solveurhp)\\s+(\\w+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'storage.type.mefpp'
|
|
'2':
|
|
'name': 'entity.name.section.mefpp'
|
|
'3':
|
|
'name': 'source.mefpp'
|
|
'4':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(problemeef|asgnFonctionsTestSUPG)'
|
|
'captures':
|
|
'1':
|
|
'name': 'variable.other.object.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(fcts_supg|scalh_ugn|schemaintg|pp_\\w+)\\s+([^\\s]+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'variable.other.object.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(cree_entite)'
|
|
'captures':
|
|
'1':
|
|
'name': 'variable.other.object.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(formulation)(\\w+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'variable.other.object.mefpp'
|
|
'2':
|
|
'name': 'variable.other.object.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(dirichlet|neumann\\w+|neumann)\\s+([^\\s]+)\\s+([^\\s]+)\\s+([^\\s]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'storage.type.mefpp'
|
|
'2':
|
|
'name': 'support.function.general.mefpp'
|
|
'4':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(TF\\w+|tf\\w+)\\s+(\\w+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'variable.other.object.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(CC\\w+|cc\\w+)\\s+(\\w+)\\s+([^\\n]+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'support.function.general.mefpp'
|
|
'2':
|
|
'name': 'source.mefpp'
|
|
'3':
|
|
'name': 'constant.other.general.mefpp'
|
|
'name': 'variable.parameter.function.mefpp'
|
|
}
|
|
{
|
|
'match': '\\b(resoud|execute|ajoute\\w+|format_exportation|prefixe_sorties|asgnDegreInterpolation|asgnExporteToujoursMaillage|forceMiseAJourMaillage|ksp_\\w+|pc_\\w+|mat_\\w+)'
|
|
'captures':
|
|
'1':
|
|
'name': 'entity.name.section.mefpp'
|
|
'name': 'meta.function.environment.general.mefpp'
|
|
}
|
|
{
|
|
'begin': '(\\{)\\s+(\\w+|\\"\\w+\\")'
|
|
'captures':
|
|
'1':
|
|
'name': 'source.mefpp'
|
|
'2':
|
|
'name': 'variable.other.object.mefpp'
|
|
'end': '(\\})'
|
|
'name': 'meta.embedded.block.source'
|
|
'patterns': [
|
|
{
|
|
'include': '$self'
|
|
}
|
|
]
|
|
}
|
|
{
|
|
begin: '//'
|
|
end: '\\n'
|
|
name: 'comment.line.double-slash.mefpp'
|
|
}
|
|
{
|
|
begin: '#'
|
|
end: '\\n'
|
|
name: 'comment.line.number-sign.mefpp'
|
|
}
|
|
{
|
|
begin: '/\\*'
|
|
beginCaptures:
|
|
'0':
|
|
name: 'punctuation.definition.comment.begin.mefpp'
|
|
end: '\\*/'
|
|
endCaptures:
|
|
'0':
|
|
name: 'punctuation.definition.comment.end.mefpp'
|
|
name: 'comment.block.mefpp'
|
|
}
|
|
]
|