UNPKG

@abaplint/core

Version:
15 lines 740 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Static = void 0; const combi_1 = require("../combi"); const Expressions = require("../expressions"); class Static { getMatcher() { const p = (0, combi_1.opt)((0, combi_1.per)(Expressions.Type, Expressions.Value, Expressions.Length, Expressions.Decimals)); const type = (0, combi_1.seq)((0, combi_1.opt)(Expressions.ConstantFieldLength), p); const ret = (0, combi_1.seq)((0, combi_1.alt)("STATIC", "STATICS"), Expressions.DefinitionName, (0, combi_1.optPrio)(Expressions.ConstantFieldLength), (0, combi_1.alt)(type, Expressions.TypeTable)); return ret; } } exports.Static = Static; //# sourceMappingURL=static.js.map