UNPKG

@abaplint/core

Version:
15 lines 809 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClassImplementation = void 0; const Statements = require("../../2_statements/statements"); const Structures = require("."); const _combi_1 = require("./_combi"); class ClassImplementation { getMatcher() { // the DEFINE statement is allowed between local method implementations, but not global? const body = (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sub)(Structures.Define), (0, _combi_1.sta)(Statements.Include), (0, _combi_1.sub)(Structures.Method))); return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.ClassImplementation), body, (0, _combi_1.sta)(Statements.EndClass)); } } exports.ClassImplementation = ClassImplementation; //# sourceMappingURL=class_implementation.js.map