UNPKG

@abaplint/core

Version:
22 lines 838 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Let = void 0; const Expressions = require("../../2_statements/expressions"); const inline_field_definition_1 = require("./inline_field_definition"); const _scope_type_1 = require("../_scope_type"); class Let { static runSyntax(node, input, skipScope = false) { if (node === undefined) { return false; } if (skipScope !== true) { input.scope.push(_scope_type_1.ScopeType.Let, "LET", node.getFirstToken().getStart(), input.filename); } for (const f of node.findDirectExpressions(Expressions.InlineFieldDefinition)) { inline_field_definition_1.InlineFieldDefinition.runSyntax(f, input); } return true; } } exports.Let = Let; //# sourceMappingURL=let.js.map